Skip to content

Commit e90f2be

Browse files
[Miniconda] Address cryptography - GHSA-jfhm-5ghh-2f97 vulnerability (devcontainers#918)
1 parent af848a7 commit e90f2be

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/miniconda/.devcontainer/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ FROM continuumio/miniconda3 as upstream
66
# https://github.com/advisories/<CVE_ID>
77
# <package_name> = <version>
88

9+
RUN conda install \
10+
# https://github.com/advisories/GHSA-jfhm-5ghh-2f97
11+
cryptography==41.0.7
12+
913
# Reset and copy updated files with updated privs to keep image size down
1014
FROM mcr.microsoft.com/devcontainers/base:1-bullseye
1115

src/miniconda/test-project/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ check "gitconfig-contains-name" sh -c "cat /etc/gitconfig | grep 'name = devcont
1818

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

21-
checkPythonPackageVersion "cryptography" "41.0.3"
21+
checkPythonPackageVersion "cryptography" "41.0.7"
2222
checkPythonPackageVersion "setuptools" "65.5.1"
2323
checkPythonPackageVersion "wheel" "0.38.1"
2424

25-
checkCondaPackageVersion "cryptography" "41.0.3"
25+
checkCondaPackageVersion "cryptography" "41.0.7"
2626
checkCondaPackageVersion "pyopenssl" "23.2.0"
2727
checkCondaPackageVersion "setuptools" "65.5.1"
2828
checkCondaPackageVersion "wheel" "0.38.1"

0 commit comments

Comments
 (0)