Skip to content

Commit

Permalink
[Miniconda] Address cryptography - GHSA-jfhm-5ghh-2f97 vulnerability (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravsaini04 committed Jan 16, 2024
1 parent af848a7 commit e90f2be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/miniconda/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ FROM continuumio/miniconda3 as upstream
# https://github.com/advisories/<CVE_ID>
# <package_name> = <version>

RUN conda install \
# https://github.com/advisories/GHSA-jfhm-5ghh-2f97
cryptography==41.0.7

# Reset and copy updated files with updated privs to keep image size down
FROM mcr.microsoft.com/devcontainers/base:1-bullseye

Expand Down
4 changes: 2 additions & 2 deletions src/miniconda/test-project/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ check "gitconfig-contains-name" sh -c "cat /etc/gitconfig | grep 'name = devcont

check "usr-local-etc-config-does-not-exist" test ! -f "/usr/local/etc/gitconfig"

checkPythonPackageVersion "cryptography" "41.0.3"
checkPythonPackageVersion "cryptography" "41.0.7"
checkPythonPackageVersion "setuptools" "65.5.1"
checkPythonPackageVersion "wheel" "0.38.1"

checkCondaPackageVersion "cryptography" "41.0.3"
checkCondaPackageVersion "cryptography" "41.0.7"
checkCondaPackageVersion "pyopenssl" "23.2.0"
checkCondaPackageVersion "setuptools" "65.5.1"
checkCondaPackageVersion "wheel" "0.38.1"
Expand Down

0 comments on commit e90f2be

Please sign in to comment.