Skip to content

Commit

Permalink
[miniconda] - certifi - security patch - GHSA-248v-346w-9cwc 
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravsaini04 committed Jul 11, 2024
1 parent c3d1907 commit d5745c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/miniconda/.devcontainer/apply_security_patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# define array of packages for pinning to the patched versions
# vulnerable_packages=( "package1=version1" "package2=version2" "package3=version3" )
vulnerable_packages=( "tqdm=4.66.4" "requests=2.32.0" "urllib3=2.2.2")
vulnerable_packages=( "tqdm=4.66.4" "requests=2.32.0" "urllib3=2.2.2" "certifi=2024.7.4")

# Define the number of rows (based on the length of vulnerable_packages)
rows=${#vulnerable_packages[@]}
Expand Down
1 change: 1 addition & 0 deletions src/miniconda/test-project/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ checkCondaPackageVersion "requests" "2.32.0"
checkCondaPackageVersion "urllib3" "1.26.17"
checkCondaPackageVersion "idna" "3.7"
checkCondaPackageVersion "tqdm" "4.66.4"
checkCondaPackageVersion "certifi" "2024.7.4"

check "conda-update-conda" bash -c "conda update -y conda"
check "conda-install-tensorflow" bash -c "conda create --name test-env -c conda-forge --yes tensorflow"
Expand Down

0 comments on commit d5745c2

Please sign in to comment.