Skip to content

Commit f5a7c1d

Browse files
miniconda-cryptography-update_for_security_patch_GHSA-6vqw-3v5j-54x4 (#976)
* miniconda-cryptography-update_for_security_patch_GHSA-6vqw-3v5j-54x4 * changes as requested * misc change
1 parent e22b5bc commit f5a7c1d

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

src/miniconda/.devcontainer/Dockerfile

+4-6
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ 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-3ww4-gg4f-jr7f
11-
cryptography==42.0.2
12-
139
RUN python3 -m pip install --upgrade \
14-
# installed for compatibility with cryptography v42.0.2
15-
pyopenssl==24.0.0
10+
# https://github.com/advisories/GHSA-6vqw-3v5j-54x4
11+
cryptography==42.0.4 \
12+
# installed for compatibility with cryptography v42.0.4
13+
pyopenssl==24.0.0
1614

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

src/miniconda/test-project/test.sh

+2-2
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" "42.0.2"
21+
checkPythonPackageVersion "cryptography" "42.0.4"
2222
checkPythonPackageVersion "setuptools" "65.5.1"
2323
checkPythonPackageVersion "wheel" "0.38.1"
2424

25-
checkCondaPackageVersion "cryptography" "42.0.2"
25+
checkCondaPackageVersion "cryptography" "42.0.4"
2626
checkCondaPackageVersion "pyopenssl" "24.0.0"
2727
checkCondaPackageVersion "setuptools" "65.5.1"
2828
checkCondaPackageVersion "wheel" "0.38.1"

0 commit comments

Comments
 (0)