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] - Cryptography - Patch security vulnerability - GHSA-3ww4…
  • Loading branch information
gauravsaini04 committed Feb 14, 2024
commit 79bbc56e196f9c7c2983b91659229ecf83b481c0
4 changes: 2 additions & 2 deletions src/miniconda/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM continuumio/miniconda3 as upstream
# <package_name> = <version>

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

# 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.7"
checkPythonPackageVersion "cryptography" "42.0.2"
checkPythonPackageVersion "setuptools" "65.5.1"
checkPythonPackageVersion "wheel" "0.38.1"

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