Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[Miniconda] Address cryptography - GHSA-jfhm-5ghh-2f97 vulnerability
  • Loading branch information
gauravsaini04 committed Jan 11, 2024
commit eb0a3e7484e8adb8d59a1f3f1afeb284aded6e7d
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