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

[universal] Update cryptography package due to GHSA-v8gr-m533-ghj9 #795

Merged
merged 3 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ sudo_if /opt/conda/bin/python3 -m pip install --upgrade pip

# pyopenssl should be updated to be compatible with latest version of cryptography
update_conda_package pyopenssl "23.2.0"
# https://github.com/advisories/GHSA-jm77-qphf-c4w8
update_conda_package cryptography "41.0.3"

# https://github.com/advisories/GHSA-v8gr-m533-ghj9
update_python_package /opt/conda/bin/python3 cryptography "41.0.4"

# https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32681
update_conda_package requests "2.31.0"
3 changes: 1 addition & 2 deletions src/universal/test-project/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ check "java-version-on-path-is-12.0.2" java --version | grep 12.0.2
ls -la /home/codespace

## Python - current
checkPythonPackageVersion "python" "wheel" "0.38.1"
checkPythonPackageVersion "python" "setuptools" "65.5.1"
checkPythonPackageVersion "python" "requests" "2.31.0"

Expand All @@ -196,7 +195,7 @@ checkPythonPackageVersion "/usr/local/python/3.9.*/bin/python" "setuptools" "65.

## Conda Python
checkCondaPackageVersion "requests" "2.31.0"
checkCondaPackageVersion "cryptography" "41.0.3"
checkCondaPackageVersion "cryptography" "41.0.4"
checkCondaPackageVersion "pyopenssl" "23.2.0"

## Test Conda
Expand Down