Skip to content

Commit da8a19d

Browse files
committed
Fix sudo vuln
1 parent 422d4d3 commit da8a19d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,17 @@ COPY --from=rust-env /usr/local/rustup /usr/local/rustup
343343

344344
# Fix a CRIT vuln: https://github.com/advisories/GHSA-vqfr-h8mv-ghfj
345345
RUN uv pip install h11==0.16.0
346+
# Fix a CRIT vuln in sudo: https://ubuntu.com/security/CVE-2025-32463
347+
# Enable Debian experimental repository and install patched sudo
348+
# Download and install the correct sudo .deb based on architecture
349+
RUN set -eux; \
350+
if [ "$TARGETARCH" = "arm64" ]; then \
351+
wget -O sudo.deb https://github.com/sudo-project/sudo/releases/download/v1.9.17p1/sudo_1.9.17-2_ubu2404_arm64.deb; \
352+
else \
353+
wget -O sudo.deb https://github.com/sudo-project/sudo/releases/download/v1.9.17p1/sudo_1.9.17-2_ubu2404_amd64.deb; \
354+
fi && \
355+
dpkg -i sudo.deb || apt-get install -f -y && \
356+
rm sudo.deb
346357

347358
# RUN rm -rf /usr/local/cargo /usr/local/rustup
348359
RUN chmod 777 -R /workspace/bionemo2/

0 commit comments

Comments
 (0)