Skip to content

Commit 9c2a2e1

Browse files
[Anaconda] - [aiohttp] - Address Security Vulnerability - GHSA-5h86-8mv2-jq9f (#949)
* [Anaconda] - GHSA-5h86-8mv2-jq9f - aiohttp - patch for vuln * for failing tests - no space left on device - error
1 parent cdf62f3 commit 9c2a2e1

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/smoke-anaconda.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
smoke-test:
1616
name: Smoke test
17-
runs-on: ubuntu-latest
17+
runs-on: devcontainer-image-builder-ubuntu
1818
steps:
1919

2020
- name: Checkout

src/anaconda/.devcontainer/Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ RUN . /etc/os-release && if [ "${VERSION_CODENAME}" != "bullseye" ]; then exit 1
55

66
# Temporary: Upgrade python packages due to mentioned CVEs
77
# They are installed by the base image (continuumio/anaconda3) which does not have the patch.
8-
RUN conda install \
9-
# https://github.com/advisories/GHSA-q3qx-c6g2-7pw2
10-
aiohttp=3.9.0 \
8+
RUN conda install \
119
# https://github.com/advisories/GHSA-v845-jxx5-vc9f
1210
urllib3==1.26.18 \
1311
# https://github.com/advisories/GHSA-jfhm-5ghh-2f97
@@ -37,7 +35,9 @@ RUN python3 -m pip install --upgrade \
3735
# https://github.com/advisories/GHSA-3f63-hfp8-52jq
3836
pillow==10.2.0 \
3937
# https://github.com/advisories/GHSA-44cc-43rp-5947
40-
jupyterlab==4.0.11
38+
jupyterlab==4.0.11 \
39+
# https://github.com/advisories/GHSA-5h86-8mv2-jq9f
40+
aiohttp==3.9.2
4141

4242
# Reset and copy updated files with updated privs to keep image size down
4343
FROM mcr.microsoft.com/devcontainers/base:1-bullseye

src/anaconda/test-project/test.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ checkPythonPackageVersion "requests" "2.31.0"
4343
checkPythonPackageVersion "cryptography" "41.0.7"
4444
checkPythonPackageVersion "transformers" "4.36.0"
4545
checkPythonPackageVersion "mpmath" "1.3.0"
46-
checkPythonPackageVersion "aiohttp" "3.9.0"
46+
checkPythonPackageVersion "aiohttp" "3.9.2"
4747
checkPythonPackageVersion "jupyter_server" "2.7.2"
4848
checkPythonPackageVersion "tornado" "6.3.3"
4949
checkPythonPackageVersion "pyarrow" "14.0.1"
@@ -55,7 +55,6 @@ checkCondaPackageVersion "cryptography" "41.0.7"
5555
checkCondaPackageVersion "requests" "2.31.0"
5656
checkCondaPackageVersion "pygments" "2.15.1"
5757
checkCondaPackageVersion "mpmath" "1.3.0"
58-
checkCondaPackageVersion "aiohttp" "3.9.0"
5958
checkCondaPackageVersion "urllib3" "1.26.17"
6059
checkCondaPackageVersion "pyarrow" "14.0.1"
6160

0 commit comments

Comments
 (0)