Skip to content

Commit 41a7a75

Browse files
UID2-6837: Silence CVE-2026-33416 and CVE-2026-33636 (libpng) in .trivyignore
libpng is an OS-level Alpine package not used by our Java services. Silence with 1-month expiry (2026-05-01) pending base image update. Reverts Dockerfile apk upgrade approach in favor of .trivyignore. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e05a280 commit 41a7a75

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

.trivyignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,9 @@ CVE-2026-32776 exp:2026-04-25
3333
# Trivy reports CVE-2026-32776 with transposed digits (32767 instead of 32776) - this is a known Trivy bug
3434
# See: https://github.com/aquasecurity/trivy/discussions/10412 and UID2-6806
3535
# This entry can be removed once Trivy fixes the typo
36-
CVE-2026-32767 exp:2026-04-25
36+
CVE-2026-32767 exp:2026-04-25
37+
38+
# libpng use-after-free and OOB read/write in Alpine base image - not used by our Java services
39+
# See: UID2-6837
40+
CVE-2026-33416 exp:2026-05-01
41+
CVE-2026-33636 exp:2026-05-01

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# sha from https://hub.docker.com/layers/library/eclipse-temurin/21-jre-alpine-3.23/images/sha256-693c22ea458d62395bac47a2da405d0d18c77b205211ceec4846a550a37684b6
22
FROM eclipse-temurin@sha256:693c22ea458d62395bac47a2da405d0d18c77b205211ceec4846a550a37684b6
33

4-
# Upgrade libpng to fix CVE-2026-33416 and CVE-2026-33636
5-
RUN apk upgrade --no-cache libpng
6-
74
# For Amazon Corretto Crypto Provider
85
RUN apk add --no-cache gcompat
96

scripts/azure-cc/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM eclipse-temurin@sha256:693c22ea458d62395bac47a2da405d0d18c77b205211ceec4846a550a37684b6
33

44
# Install necessary packages and set up virtual environment
5-
RUN apk update && apk add --no-cache --upgrade libpng && apk add --no-cache jq python3 py3-pip && \
5+
RUN apk update && apk add --no-cache jq python3 py3-pip && \
66
python3 -m venv /venv && \
77
. /venv/bin/activate && \
88
pip install --no-cache-dir requests azure-identity azure-keyvault-secrets && \

0 commit comments

Comments
 (0)