Skip to content

Commit 1fe4014

Browse files
authored
[NPM] [Vulnerability] Resolve Ubuntu CVEs in v1.6.38 Image (#4220)
* manually resolve ubuntu cves * updated comment
1 parent 22966a6 commit 1fe4014

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

npm/linux.Dockerfile

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ RUN MS_GO_NOSYSTEMCRYPTO=1 CGO_ENABLED=0 go build -v -o /usr/local/bin/azure-npm
88

99
FROM mcr.microsoft.com/mirror/docker/library/ubuntu:24.04 AS linux
1010
COPY --from=builder /usr/local/bin/azure-npm /usr/bin/azure-npm
11-
RUN apt-get update && apt-get install -y iptables ipset ca-certificates && apt-get autoremove -y && apt-get clean
11+
# Manually patch Ubuntu CVEs:
12+
# gpgv: CVE-2025-68973 (HIGH)
13+
# libc-bin: CVE-2025-15281, CVE-2026-0861, CVE-2026-0915 (MEDIUM)
14+
# libc6: CVE-2025-15281, CVE-2026-0861, CVE-2026-0915 (MEDIUM)
15+
# libtasn1-6: CVE-2025-13151 (MEDIUM)
16+
RUN apt-get update && apt-get install -y \
17+
iptables ipset ca-certificates \
18+
gpgv=2.4.4-2ubuntu17.4 \
19+
libc-bin=2.39-0ubuntu8.7 \
20+
libc6=2.39-0ubuntu8.7 \
21+
libtasn1-6=4.19.0-3ubuntu0.24.04.2 \
22+
&& apt-get autoremove -y && apt-get clean
1223
RUN chmod +x /usr/bin/azure-npm
1324
ENTRYPOINT ["/usr/bin/azure-npm", "start"]

0 commit comments

Comments
 (0)