Skip to content

Commit 59124b1

Browse files
[Anaconda] - Cryptography - Patch security vulnerability - GHSA-3ww4-gg4f-jr7f (#964)
1 parent ad949ce commit 59124b1

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/anaconda/.devcontainer/Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ RUN . /etc/os-release && if [ "${VERSION_CODENAME}" != "bullseye" ]; then exit 1
77
# They are installed by the base image (continuumio/anaconda3) which does not have the patch.
88
RUN conda install \
99
# https://github.com/advisories/GHSA-v845-jxx5-vc9f
10-
urllib3==1.26.18 \
11-
# https://github.com/advisories/GHSA-jfhm-5ghh-2f97
12-
cryptography==41.0.7
10+
urllib3==1.26.18
1311

1412
RUN python3 -m pip install --upgrade \
1513
# https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21797
@@ -37,7 +35,9 @@ RUN python3 -m pip install --upgrade \
3735
# https://github.com/advisories/GHSA-44cc-43rp-5947
3836
jupyterlab==4.0.11 \
3937
# https://github.com/advisories/GHSA-5h86-8mv2-jq9f
40-
aiohttp==3.9.2
38+
aiohttp==3.9.2 \
39+
# https://github.com/advisories/GHSA-3ww4-gg4f-jr7f
40+
cryptography==42.0.0
4141

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

src/anaconda/test-project/test.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ checkPythonPackageVersion "nbconvert" "6.5.1"
4040
checkPythonPackageVersion "werkzeug" "2.2.3"
4141
checkPythonPackageVersion "certifi" "2022.12.07"
4242
checkPythonPackageVersion "requests" "2.31.0"
43-
checkPythonPackageVersion "cryptography" "41.0.7"
43+
checkPythonPackageVersion "cryptography" "42.0.0"
4444
checkPythonPackageVersion "transformers" "4.36.0"
4545
checkPythonPackageVersion "mpmath" "1.3.0"
4646
checkPythonPackageVersion "aiohttp" "3.9.2"
@@ -51,7 +51,6 @@ checkPythonPackageVersion "pillow" "10.2.0"
5151
checkPythonPackageVersion "jupyterlab" "4.0.11"
5252

5353
checkCondaPackageVersion "pyopenssl" "23.2.0"
54-
checkCondaPackageVersion "cryptography" "41.0.7"
5554
checkCondaPackageVersion "requests" "2.31.0"
5655
checkCondaPackageVersion "pygments" "2.15.1"
5756
checkCondaPackageVersion "mpmath" "1.3.0"

0 commit comments

Comments
 (0)