Skip to content

Commit 49d6ddc

Browse files
[miniconda] Update urllib3 package due to GHSA-v845-jxx5-vc9f (devcontainers#802)
* Bump `urllib3` version * Add test
1 parent e881310 commit 49d6ddc

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/miniconda/.devcontainer/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ RUN conda install \
1010
# https://github.com/advisories/GHSA-j8r2-6x86-q33q
1111
requests=2.31.0
1212

13+
RUN python3 -m pip install --upgrade \
14+
# https://github.com/advisories/GHSA-v845-jxx5-vc9f
15+
urllib3==1.26.17
16+
1317
# Reset and copy updated files with updated privs to keep image size down
1418
FROM mcr.microsoft.com/devcontainers/base:1-bullseye
1519

src/miniconda/test-project/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ check "usr-local-etc-config-does-not-exist" test ! -f "/usr/local/etc/gitconfig"
2121
checkPythonPackageVersion "cryptography" "41.0.3"
2222
checkPythonPackageVersion "setuptools" "65.5.1"
2323
checkPythonPackageVersion "wheel" "0.38.1"
24+
checkPythonPackageVersion "urllib3" "1.26.17"
2425

2526
checkCondaPackageVersion "cryptography" "41.0.3"
2627
checkCondaPackageVersion "pyopenssl" "23.2.0"

0 commit comments

Comments
 (0)