Skip to content

Commit 11efacb

Browse files
authored
chore(cves) Latest CVE fixes (alibi servers, python-builder and executor) images (#7047)
* Fix for `python-builder` image CVEs * Pin urllib in the conda image to fix CVEs in alibi servers images * Tweak worfklow to check alibi-servers * Update oauth2 to 0.27.0 in executor * Tweak images.yaml * Return original `images` workflow
1 parent 5738fc2 commit 11efacb

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/images.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,3 @@ jobs:
204204
VERSION: ${{ steps.docker-tag.outputs.value }}
205205
run: |
206206
make docker-build docker-push
207-

executor/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ require (
6666
go.yaml.in/yaml/v3 v3.0.4 // indirect
6767
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
6868
golang.org/x/net v0.44.0 // indirect
69-
golang.org/x/oauth2 v0.25.0 // indirect
69+
golang.org/x/oauth2 v0.27.0 // indirect
7070
golang.org/x/sys v0.36.0 // indirect
7171
golang.org/x/term v0.35.0 // indirect
7272
golang.org/x/text v0.29.0 // indirect

executor/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,8 @@ golang.org/x/net v0.44.0/go.mod h1:ECOoLqd5U3Lhyeyo/QDCEVQ4sNgYsqvCZ722XogGieY=
341341
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
342342
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
343343
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
344-
golang.org/x/oauth2 v0.25.0 h1:CY4y7XT9v0cRI9oupztF8AgiIu99L/ksR/Xp/6jrZ70=
345-
golang.org/x/oauth2 v0.25.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
344+
golang.org/x/oauth2 v0.27.0 h1:da9Vo7/tDv5RH/7nZDz1eMGS/q1Vv1N/7FCrBhI9I3M=
345+
golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=
346346
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
347347
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
348348
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

python-builder/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ RUN INSTALL_DIR=/tmp/flatc-install && \
2424
ENV PYTHON_VERSION="3.12.12"
2525
ENV CONDA_VERSION="25.3.1"
2626
# Pin brotli to 1.2.x to remediate GHSA-2qfp-q593-8484 (CVE-2025-6176)
27-
RUN conda install --yes -c conda-forge python=$PYTHON_VERSION conda=$CONDA_VERSION brotli=1.2
27+
# Pin urllib3 to 2.6.x to remediate CVE-2025-66418, CVE-2025-66471
28+
RUN conda install --yes -c conda-forge python=$PYTHON_VERSION conda=$CONDA_VERSION brotli=1.2 urllib3=2.6
2829

2930
# Install python dependencies
3031
RUN pip3 install --upgrade pip setuptools wheel && \

wrappers/s2i/python/Dockerfile.conda

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ RUN wget -O certifi-python-certifi.tar.gz \
1717
https://github.com/certifi/python-certifi/archive/master.tar.gz
1818

1919
# Install Miniforge (BSD-3-Clause)
20-
# Fix vulnerabilities for brotli and h2
20+
# Fix vulnerabilities for brotli, h2, and urllib3
2121
# Fix vulnerability in pip(9CVE-2025-8869)
2222
ARG MINIFORGE_VERSION
2323
RUN wget https://github.com/conda-forge/miniforge/releases/download/${MINIFORGE_VERSION}/Miniforge3-${MINIFORGE_VERSION}-Linux-x86_64.sh -O ~/miniforge.sh && \
2424
/bin/bash ~/miniforge.sh -b -p /opt/conda && \
2525
rm ~/miniforge.sh && \
2626
/opt/conda/bin/conda init bash && \
27-
/opt/conda/bin/conda install -c conda-forge "brotli>=1.2.0,<1.3.0" "h2>=4.3.0,<4.4.0" -y && \
27+
/opt/conda/bin/conda install -c conda-forge "brotli>=1.2.0,<1.3.0" "h2>=4.3.0,<4.4.0" "urllib3>=2.6.0,<2.7.0" -y && \
2828
/opt/conda/bin/pip install "pip>=25.3,<26.0" && \
2929
/opt/conda/bin/conda clean -afy && \
3030
rm -rf /opt/conda/pkgs && \

0 commit comments

Comments
 (0)