Skip to content

Commit a8ae894

Browse files
Universal Anaconda: Update "wheel" due to CVE-2022-40898 (devcontainers#456)
1 parent b211374 commit a8ae894

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

src/anaconda/.devcontainer/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ RUN python3 -m pip install \
6565
# https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34141
6666
numpy \
6767
# https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23491
68-
certifi
68+
certifi \
69+
# https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40898
70+
wheel
6971

7072
# Copy environment.yml (if found) to a temp location so we can update the environment. Also
7173
# copy "noop.txt" so the COPY instruction does not fail if no environment.yml exists.

src/anaconda/manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"cryptography",
3030
"mistune",
3131
"numpy",
32-
"certifi"
32+
"certifi",
33+
"wheel"
3334
],
3435
"other": {
3536
"git": {},

src/anaconda/test-project/test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,8 @@ check-version-ge "mistune-requirement" "${mistune_version}" "2.0.3"
4444
numpy_version=$(python -c "import numpy; print(numpy.__version__)")
4545
check-version-ge "numpy-requirement" "${numpy_version}" "1.22"
4646

47+
wheel_version=$(python -c "import wheel; print(wheel.__version__)")
48+
check-version-ge "wheel-requirement" "${wheel_version}" "0.38.1"
49+
4750
# Report result
4851
reportResults

src/universal/manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@
118118
"requests",
119119
"plotly",
120120
"jupyterlab-git",
121-
"certifi"
121+
"certifi",
122+
"wheel"
122123
],
123124
"other": {
124125
"git": {},

src/universal/test-project/test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ check "java-version-on-path-is-12.0.2" java --version | grep 12.0.2
181181
MAVEN_PATH=$(cd /usr/local/sdkman/candidates/maven/3*/lib/ && pwd)
182182
check "commons-io-lib" bash -c "ls ${MAVEN_PATH} | grep commons-io-2.11.jar"
183183

184+
wheel_version=$(python -c "import wheel; print(wheel.__version__)")
185+
check-version-ge "wheel-requirement" "${wheel_version}" "0.38.1"
186+
184187
ls -la /home/codespace
185188

186189
# Report result

0 commit comments

Comments
 (0)