Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Anaconda] Address vulnerabilities GHSA_jfhm_ghh_2f97; GHSA_94vc_p8w7_5p49; GHSA_v68g_wm8c_6x7j #900

Closed
wants to merge 9 commits into from
10 changes: 8 additions & 2 deletions src/anaconda/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN conda install \
# https://github.com/advisories/GHSA-j7hp-h8jx-5ppr
pillow=10.0.1 \
# https://github.com/advisories/GHSA-v845-jxx5-vc9f
urllib3==1.26.18
urllib3==1.26.18

RUN python3 -m pip install --upgrade \
# https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21797
Expand All @@ -31,7 +31,13 @@ RUN python3 -m pip install --upgrade \
# https://github.com/advisories/GHSA-r726-vmfq-j9j3
jupyter_server==2.7.2 \
# https://github.com/advisories/GHSA-5wvp-7f3h-6wmm
pyarrow==14.0.1
pyarrow==14.0.1 \
# https://github.com/advisories/GHSA-jfhm-5ghh-2f97
cryptography==41.0.6 \
# https://github.com/advisories/GHSA-v68g-wm8c-6x7j
transformers==4.36.0 \
# https://github.com/advisories/GHSA-94vc-p8w7-5p49
imagecodecs==2023.9.18

# Reset and copy updated files with updated privs to keep image size down
FROM mcr.microsoft.com/devcontainers/base:1-bullseye
Expand Down
7 changes: 4 additions & 3 deletions src/anaconda/test-project/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,17 @@ checkPythonPackageVersion "nbconvert" "6.5.1"
checkPythonPackageVersion "werkzeug" "2.2.3"
checkPythonPackageVersion "certifi" "2022.12.07"
checkPythonPackageVersion "requests" "2.31.0"
checkPythonPackageVersion "cryptography" "41.0.3"
checkPythonPackageVersion "transformers" "4.30.0"
checkPythonPackageVersion "cryptography" "41.0.6"
checkPythonPackageVersion "transformers" "4.36.0"
checkPythonPackageVersion "mpmath" "1.3.0"
checkPythonPackageVersion "aiohttp" "3.9.0"
checkPythonPackageVersion "jupyter_server" "2.7.2"
checkPythonPackageVersion "tornado" "6.3.3"
checkPythonPackageVersion "pyarrow" "14.0.1"
checkPythonPackageVersion "imagecodecs" "2023.9.18"

checkCondaPackageVersion "pyopenssl" "23.2.0"
checkCondaPackageVersion "cryptography" "41.0.3"
checkCondaPackageVersion "cryptography" "41.0.6"
checkCondaPackageVersion "requests" "2.31.0"
checkCondaPackageVersion "pygments" "2.15.1"
checkCondaPackageVersion "mpmath" "1.3.0"
Expand Down