Skip to content

Commit cd2ab85

Browse files
authored
[NPM] [Vulnerability] Resolve Ubuntu CVEs in v1.6.39 Image (#4268)
added patches for libgnutls30t64 and stdlib
1 parent 7114c1a commit cd2ab85

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

npm/linux.Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.25.7 AS builder
1+
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.25.8 AS builder
22
ARG VERSION
33
ARG NPM_AI_PATH
44
ARG NPM_AI_ID
@@ -9,16 +9,18 @@ RUN MS_GO_NOSYSTEMCRYPTO=1 CGO_ENABLED=0 go build -v -o /usr/local/bin/azure-npm
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
1111
# 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)
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+
# libgnutls30t64: CVE-2025-14831 (MEDIUM), CVE-2025-9820 (LOW)
1617
RUN apt-get update && apt-get install -y \
1718
iptables ipset ca-certificates \
1819
gpgv=2.4.4-2ubuntu17.4 \
1920
libc-bin=2.39-0ubuntu8.7 \
2021
libc6=2.39-0ubuntu8.7 \
2122
libtasn1-6=4.19.0-3ubuntu0.24.04.2 \
23+
libgnutls30t64=3.8.3-1.1ubuntu3.5 \
2224
&& apt-get autoremove -y && apt-get clean
2325
RUN chmod +x /usr/bin/azure-npm
2426
ENTRYPOINT ["/usr/bin/azure-npm", "start"]

0 commit comments

Comments
 (0)