Skip to content

Commit a42f536

Browse files
fix(deps): bump Go from 1.26.3 to 1.26.4 to fix CVE-2026-42504 in seed and generator containers (#16232)
* fix(deps): bump Go from 1.26.3 to 1.26.4 to fix CVE-2026-42504 in seed and generator containers Co-Authored-By: David Konigsberg <davidakonigsberg@gmail.com> * chore: simplify Dockerfile comments — remove verbose CVE listings Co-Authored-By: David Konigsberg <davidakonigsberg@gmail.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent 89a296c commit a42f536

7 files changed

Lines changed: 60 additions & 145 deletions

File tree

docker/seed/Dockerfile.go

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,22 @@ RUN apk add --no-cache curl && \
55
curl -sL "https://github.com/google/go-containerregistry/releases/download/v0.21.2/go-containerregistry_Linux_${ARCH}.tar.gz" | tar xz -C /usr/local/bin crane && \
66
crane pull wiremock/wiremock:3.9.1 /wiremock.tar
77

8-
# Stage 2: Rebuild containerd v2.3.1 + runc v1.3.5 + moby (dockerd, docker-proxy)
9-
# + docker CLI from source with go1.26.3 and golang.org/x/net v0.53.0.
10-
# Upstream `docker:29.5.2-dind-alpine3.23` ships dockerd / docker / docker-proxy
11-
# built with go1.26.2, which grype flags for the unpatched go/stdlib 1.26.2
12-
# CVEs (CVE-2026-33811, CVE-2026-33814, CVE-2026-39820, CVE-2026-39836,
13-
# CVE-2026-42499). Rebuilding under GOTOOLCHAIN=go1.26.3 swaps the embedded
14-
# stdlib without changing functionality. The containerd/runc rebuild also
15-
# picks up the grpc / otel / go-jose bumps from the v2.3.x release line.
16-
FROM golang:1.26.3-alpine3.23 AS overlay-binaries
8+
# Stage 2: Rebuild containerd + runc + moby + docker CLI from source with
9+
# go1.26.4 so the embedded stdlib clears vulnerability scanners. The
10+
# containerd/runc rebuild also picks up dependency bumps from the v2.3.x line.
11+
FROM golang:1.26.4-alpine3.23 AS overlay-binaries
1712
ARG CONTAINERD_VERSION=2.3.1
1813
ARG RUNC_VERSION=1.3.5
19-
# moby v29.5.2 includes fixes for CVE-2026-33997, CVE-2026-34040,
20-
# CVE-2026-41567, CVE-2026-41568, CVE-2026-42306 and later patches.
2114
ARG MOBY_VERSION=29.5.2
2215
ARG DOCKER_CLI_VERSION=29.5.2
2316
ARG XNET_VERSION=0.55.0
2417
ARG XCRYPTO_VERSION=0.52.0
2518
ARG XSYS_VERSION=0.45.0
2619
ARG OTEL_SDK_VERSION=1.43.0
2720
ARG IN_TOTO_VERSION=0.11.0
28-
ENV GOTOOLCHAIN=go1.26.3
21+
ENV GOTOOLCHAIN=go1.26.4
2922
RUN apk add --no-cache git make gcc musl-dev linux-headers libseccomp-dev libseccomp-static bash ca-certificates && \
3023
mkdir -p /overlay/usr/local/bin
31-
# Bump in-toto-golang to v0.11.0 (GHSA-pmwq-pjrm-6p5r) and pin the OTLP
32-
# HTTP exporters to v${OTEL_SDK_VERSION} (CVE-2026-39882).
3324
RUN git clone --depth 1 --branch v${CONTAINERD_VERSION} https://github.com/containerd/containerd.git /src/containerd && \
3425
cd /src/containerd && \
3526
go get golang.org/x/net@v${XNET_VERSION} \
@@ -59,9 +50,6 @@ RUN git clone --depth 1 --branch v${RUNC_VERSION} https://github.com/opencontain
5950
cp runc /overlay/usr/local/bin/runc
6051
RUN git clone --depth 1 --branch docker-v${MOBY_VERSION} https://github.com/moby/moby.git /src/moby && \
6152
cd /src/moby && \
62-
# Force patched x/net (CVE-2026-33814), containerd (GHSA-fqw6-gf59-qr4w),
63-
# otel SDK + OTLP HTTP exporters (CVE-2026-39882, CVE-2026-39883)
64-
# before vendoring dockerd/docker-proxy.
6553
go get golang.org/x/net@v${XNET_VERSION} \
6654
golang.org/x/crypto@v${XCRYPTO_VERSION} \
6755
golang.org/x/sys@v${XSYS_VERSION} \
@@ -85,8 +73,6 @@ RUN git clone --depth 1 --branch docker-v${MOBY_VERSION} https://github.com/moby
8573
RUN git clone --depth 1 --branch v${DOCKER_CLI_VERSION} https://github.com/docker/cli.git /src/docker-cli && \
8674
cd /src/docker-cli && \
8775
cp vendor.mod go.mod && cp vendor.sum go.sum && \
88-
# docker CLI's vendor.mod pins x/net <0.53; bump it (and re-vendor)
89-
# so the built /usr/local/bin/docker also clears CVE-2026-33814.
9076
go get golang.org/x/net@v${XNET_VERSION} \
9177
golang.org/x/crypto@v${XCRYPTO_VERSION} \
9278
golang.org/x/sys@v${XSYS_VERSION} && \
@@ -115,7 +101,7 @@ COPY --from=wiremock-pull /wiremock.tar /wiremock.tar
115101
RUN apk update && apk upgrade --no-cache --available
116102

117103
# Install Go (multi-arch: supports both amd64 and arm64)
118-
ENV GO_VERSION=1.26.3
104+
ENV GO_VERSION=1.26.4
119105
RUN set -eux; \
120106
ARCH="$(uname -m)"; \
121107
case "${ARCH}" in \
@@ -127,11 +113,8 @@ RUN set -eux; \
127113
&& tar -C /usr/local -xzf "go${GO_VERSION}.linux-${GOARCH}.tar.gz" \
128114
&& rm "go${GO_VERSION}.linux-${GOARCH}.tar.gz"
129115

130-
# Go 1.26.3 ships the CVE-2026-33814 fix in h2_bundle.go but src/go.mod
131-
# still pins old pseudo-versions of x/net and x/crypto, and an old x/sys.
132-
# Bump the SBOM files so grype no longer flags them.
133-
# Patch both src/go.mod (stdlib) and src/cmd/go.mod (toolchain commands)
134-
# so scanners like grype and AWS Inspector stop reporting CVE-2026-39824.
116+
# Patch src/go.mod and src/cmd/go.mod to bump declared x/net, x/crypto,
117+
# x/sys versions so SBOM scanners no longer flag stale pseudo-versions.
135118
RUN sed -i 's|golang.org/x/net v0.47.1-[^ ]*|golang.org/x/net v0.55.0|' \
136119
/usr/local/go/src/go.mod /usr/local/go/src/vendor/modules.txt && \
137120
sed -i '/golang.org\/x\/net v0.47.1-/d' /usr/local/go/src/go.sum && \
@@ -152,8 +135,8 @@ ENV PATH="/usr/local/go/bin:${PATH}" \
152135
RUN mkdir -p "${GOPATH}/src" "${GOPATH}/bin"
153136

154137
# Build golangci-lint via a temporary wrapper module so we can bump
155-
# golang.org/x/sys to v0.45.0 (CVE-2026-39824) while still fetching all
156-
# modules through the Go proxy + checksum database (sum.golang.org).
138+
# golang.org/x/sys while still fetching all modules through the Go proxy
139+
# + checksum database (sum.golang.org).
157140
ENV GOLANGCI_LINT_VERSION=v2.12.2
158141
RUN mkdir /tmp/glw && cd /tmp/glw && \
159142
go mod init golangci-wrapper && \

docker/seed/Dockerfile.php

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,12 @@
55
curl -sL "https://github.com/google/go-containerregistry/releases/download/v0.21.2/go-containerregistry_Linux_${ARCH}.tar.gz" | tar xz -C /usr/local/bin crane && \
66
crane pull wiremock/wiremock:3.9.1 /wiremock.tar
77

8-
# Stage 2: Rebuild containerd v2.3.0 + runc v1.3.5 + moby (dockerd, docker-proxy)
9-
# + docker CLI from source with go1.26.3 and golang.org/x/net v0.53.0.
10-
# Upstream `docker:29.5.2-dind-alpine3.23` ships dockerd / docker / docker-proxy
11-
# built with go1.26.2, which grype flags for the unpatched go/stdlib 1.26.2
12-
# CVEs (CVE-2026-33811, CVE-2026-33814, CVE-2026-39820, CVE-2026-39836,
13-
# CVE-2026-42499). Rebuilding under GOTOOLCHAIN=go1.26.3 swaps the embedded
14-
# stdlib without changing functionality. The containerd/runc rebuild also
15-
# picks up the grpc / otel / go-jose bumps from the v2.3.x release line.
16-
FROM golang:1.26.3-alpine3.23 AS overlay-binaries
8+
# Stage 2: Rebuild containerd + runc + moby + docker CLI from source with
9+
# go1.26.4 so the embedded stdlib clears vulnerability scanners. The
10+
# containerd/runc rebuild also picks up dependency bumps from the v2.3.x line.
11+
FROM golang:1.26.4-alpine3.23 AS overlay-binaries
1712
ARG CONTAINERD_VERSION=2.3.1
1813
ARG RUNC_VERSION=1.3.5
19-
# moby v29.5.2 includes fixes for CVE-2026-33997, CVE-2026-34040,
20-
# CVE-2026-41567, CVE-2026-41568, CVE-2026-42306 and later patches.
2114
ARG MOBY_VERSION=29.5.2
2215
ARG DOCKER_CLI_VERSION=29.5.2
2316
ARG COMPOSE_VERSION=5.1.4
@@ -26,11 +19,9 @@
2619
ARG XSYS_VERSION=0.45.0
2720
ARG OTEL_SDK_VERSION=1.43.0
2821
ARG IN_TOTO_VERSION=0.11.0
29-
ENV GOTOOLCHAIN=go1.26.3
22+
ENV GOTOOLCHAIN=go1.26.4
3023
RUN apk add --no-cache git make gcc musl-dev linux-headers libseccomp-dev libseccomp-static bash ca-certificates binutils && \
3124
mkdir -p /overlay/usr/local/bin
32-
# Bump in-toto-golang to v0.11.0 (GHSA-pmwq-pjrm-6p5r) and pin the OTLP
33-
# HTTP exporters to v${OTEL_SDK_VERSION} (CVE-2026-39882).
3425
RUN git clone --depth 1 --branch v${CONTAINERD_VERSION} https://github.com/containerd/containerd.git /src/containerd && \
3526
cd /src/containerd && \
3627
go get golang.org/x/net@v${XNET_VERSION} \
@@ -60,9 +51,6 @@
6051
cp runc /overlay/usr/local/bin/runc
6152
RUN git clone --depth 1 --branch docker-v${MOBY_VERSION} https://github.com/moby/moby.git /src/moby && \
6253
cd /src/moby && \
63-
# Force patched x/net (CVE-2026-33814), containerd (GHSA-fqw6-gf59-qr4w),
64-
# otel SDK + OTLP HTTP exporters (CVE-2026-39882, CVE-2026-39883)
65-
# before vendoring dockerd/docker-proxy.
6654
go get golang.org/x/net@v${XNET_VERSION} \
6755
golang.org/x/crypto@v${XCRYPTO_VERSION} \
6856
golang.org/x/sys@v${XSYS_VERSION} \
@@ -86,8 +74,6 @@
8674
RUN git clone --depth 1 --branch v${DOCKER_CLI_VERSION} https://github.com/docker/cli.git /src/docker-cli && \
8775
cd /src/docker-cli && \
8876
cp vendor.mod go.mod && cp vendor.sum go.sum && \
89-
# docker CLI's vendor.mod pins x/net <0.53; bump it (and re-vendor)
90-
# so the built /usr/local/bin/docker also clears CVE-2026-33814.
9177
go get golang.org/x/net@v${XNET_VERSION} \
9278
golang.org/x/crypto@v${XCRYPTO_VERSION} \
9379
golang.org/x/sys@v${XSYS_VERSION} && \
@@ -97,11 +83,8 @@
9783
-tags "osusergo netgo static_build pkcs11" \
9884
-trimpath -ldflags "-s -w" \
9985
-o /overlay/usr/local/bin/docker ./cmd/docker
100-
# Rebuild docker-compose to clear x/net <0.53, OTLP HTTP exporter <1.43.0
101-
# (CVE-2026-39882), and in-toto-golang <0.11.0 (GHSA-pmwq-pjrm-6p5r).
102-
# Strip .go.buildinfo afterward so grype does not flag the transitive
103-
# github.com/docker/docker v28.x dep (CVE-2026-33997/34040 are fixed in
104-
# the moby/dockerd rebuild; v29.3.1 has no Go module tag on that path).
86+
# Rebuild docker-compose with bumped dependencies and strip .go.buildinfo
87+
# so scanners do not flag transitive deps that are already patched above.
10588
RUN mkdir -p /overlay/usr/local/libexec/docker/cli-plugins && \
10689
git clone --depth 1 --branch v${COMPOSE_VERSION} https://github.com/docker/compose.git /src/compose && \
10790
cd /src/compose && \

docker/seed/Dockerfile.python

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,12 @@ RUN apk add --no-cache curl && \
55
curl -sL "https://github.com/google/go-containerregistry/releases/download/v0.21.2/go-containerregistry_Linux_${ARCH}.tar.gz" | tar xz -C /usr/local/bin crane && \
66
crane pull wiremock/wiremock:3.9.1 /wiremock.tar
77

8-
# Stage 2: Rebuild containerd v2.3.0 + runc v1.3.5 + moby (dockerd, docker-proxy)
9-
# + docker CLI from source with go1.26.3 and golang.org/x/net v0.53.0.
10-
# Upstream `docker:29.5.2-dind-alpine3.23` ships dockerd / docker / docker-proxy
11-
# built with go1.26.2, which grype flags for the unpatched go/stdlib 1.26.2
12-
# CVEs (CVE-2026-33811, CVE-2026-33814, CVE-2026-39820, CVE-2026-39836,
13-
# CVE-2026-42499). Rebuilding under GOTOOLCHAIN=go1.26.3 swaps the embedded
14-
# stdlib without changing functionality. The containerd/runc rebuild also
15-
# picks up the grpc / otel / go-jose bumps from the v2.3.x release line.
16-
FROM golang:1.26.3-alpine3.23 AS overlay-binaries
8+
# Stage 2: Rebuild containerd + runc + moby + docker CLI from source with
9+
# go1.26.4 so the embedded stdlib clears vulnerability scanners. The
10+
# containerd/runc rebuild also picks up dependency bumps from the v2.3.x line.
11+
FROM golang:1.26.4-alpine3.23 AS overlay-binaries
1712
ARG CONTAINERD_VERSION=2.3.1
1813
ARG RUNC_VERSION=1.3.5
19-
# moby v29.5.2 includes fixes for CVE-2026-33997, CVE-2026-34040,
20-
# CVE-2026-41567, CVE-2026-41568, CVE-2026-42306 and later patches.
2114
ARG MOBY_VERSION=29.5.2
2215
ARG DOCKER_CLI_VERSION=29.5.2
2316
ARG COMPOSE_VERSION=5.1.4
@@ -26,11 +19,9 @@ ARG XCRYPTO_VERSION=0.52.0
2619
ARG XSYS_VERSION=0.45.0
2720
ARG OTEL_SDK_VERSION=1.43.0
2821
ARG IN_TOTO_VERSION=0.11.0
29-
ENV GOTOOLCHAIN=go1.26.3
22+
ENV GOTOOLCHAIN=go1.26.4
3023
RUN apk add --no-cache git make gcc musl-dev linux-headers libseccomp-dev libseccomp-static bash ca-certificates binutils && \
3124
mkdir -p /overlay/usr/local/bin
32-
# Bump in-toto-golang to v0.11.0 (GHSA-pmwq-pjrm-6p5r) and pin the OTLP
33-
# HTTP exporters to v${OTEL_SDK_VERSION} (CVE-2026-39882).
3425
RUN git clone --depth 1 --branch v${CONTAINERD_VERSION} https://github.com/containerd/containerd.git /src/containerd && \
3526
cd /src/containerd && \
3627
go get golang.org/x/net@v${XNET_VERSION} \
@@ -60,9 +51,6 @@ RUN git clone --depth 1 --branch v${RUNC_VERSION} https://github.com/opencontain
6051
cp runc /overlay/usr/local/bin/runc
6152
RUN git clone --depth 1 --branch docker-v${MOBY_VERSION} https://github.com/moby/moby.git /src/moby && \
6253
cd /src/moby && \
63-
# Force patched x/net (CVE-2026-33814), containerd (GHSA-fqw6-gf59-qr4w),
64-
# otel SDK + OTLP HTTP exporters (CVE-2026-39882, CVE-2026-39883)
65-
# before vendoring dockerd/docker-proxy.
6654
go get golang.org/x/net@v${XNET_VERSION} \
6755
golang.org/x/crypto@v${XCRYPTO_VERSION} \
6856
golang.org/x/sys@v${XSYS_VERSION} \
@@ -86,8 +74,6 @@ RUN git clone --depth 1 --branch docker-v${MOBY_VERSION} https://github.com/moby
8674
RUN git clone --depth 1 --branch v${DOCKER_CLI_VERSION} https://github.com/docker/cli.git /src/docker-cli && \
8775
cd /src/docker-cli && \
8876
cp vendor.mod go.mod && cp vendor.sum go.sum && \
89-
# docker CLI's vendor.mod pins x/net <0.53; bump it (and re-vendor)
90-
# so the built /usr/local/bin/docker also clears CVE-2026-33814.
9177
go get golang.org/x/net@v${XNET_VERSION} \
9278
golang.org/x/crypto@v${XCRYPTO_VERSION} \
9379
golang.org/x/sys@v${XSYS_VERSION} && \
@@ -97,11 +83,8 @@ RUN git clone --depth 1 --branch v${DOCKER_CLI_VERSION} https://github.com/docke
9783
-tags "osusergo netgo static_build pkcs11" \
9884
-trimpath -ldflags "-s -w" \
9985
-o /overlay/usr/local/bin/docker ./cmd/docker
100-
# Rebuild docker-compose to clear x/net <0.53, OTLP HTTP exporter <1.43.0
101-
# (CVE-2026-39882), and in-toto-golang <0.11.0 (GHSA-pmwq-pjrm-6p5r).
102-
# Strip .go.buildinfo afterward so grype does not flag the transitive
103-
# github.com/docker/docker v28.x dep (CVE-2026-33997/34040 are fixed in
104-
# the moby/dockerd rebuild; v29.3.1 has no Go module tag on that path).
86+
# Rebuild docker-compose with bumped dependencies and strip .go.buildinfo
87+
# so scanners do not flag transitive deps that are already patched above.
10588
RUN mkdir -p /overlay/usr/local/libexec/docker/cli-plugins && \
10689
git clone --depth 1 --branch v${COMPOSE_VERSION} https://github.com/docker/compose.git /src/compose && \
10790
cd /src/compose && \

docker/seed/Dockerfile.ts

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
# Stage 1: Rebuild oxlint-tsgolint from source under go1.26.3 so the embedded
2-
# go/stdlib clears the go1.26.2 CVEs (CVE-2026-33811, CVE-2026-33814,
3-
# CVE-2026-39820, CVE-2026-39836, CVE-2026-42499). The published
4-
# @oxlint-tsgolint/linux-{x64,arm64} binaries are still compiled with the
5-
# upstream go1.26.2 toolchain.
6-
FROM golang:1.26.3-trixie AS tsgolint-rebuild
1+
# Stage 1: Rebuild oxlint-tsgolint from source under go1.26.4 so the embedded
2+
# go/stdlib clears vulnerability scanners. The published binaries are still
3+
# compiled with an older upstream Go toolchain.
4+
FROM golang:1.26.4-trixie AS tsgolint-rebuild
75
ARG TSGOLINT_VERSION=0.22.1
8-
ENV GOTOOLCHAIN=go1.26.3
6+
ENV GOTOOLCHAIN=go1.26.4
97
RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates && rm -rf /var/lib/apt/lists/*
108
RUN git config --global user.email "build@example.com" && \
119
git config --global user.name "Build" && \
@@ -42,7 +40,7 @@ RUN apt-get update \
4240
&& apt-get -y autoremove \
4341
&& rm -rf /var/lib/apt/lists/*
4442

45-
# Update perl-base to fix CVE-2026-48959, CVE-2026-48961, CVE-2026-9538, CVE-2026-48962, CVE-2026-42497
43+
# Update perl-base from sid to pick up security patches.
4644
RUN echo "Types: deb" > /etc/apt/sources.list.d/sid.sources \
4745
&& echo "URIs: http://deb.debian.org/debian" >> /etc/apt/sources.list.d/sid.sources \
4846
&& echo "Suites: sid" >> /etc/apt/sources.list.d/sid.sources \
@@ -55,12 +53,8 @@ RUN echo "Types: deb" > /etc/apt/sources.list.d/sid.sources \
5553
&& rm -f /etc/apt/sources.list.d/sid.sources /etc/apt/preferences.d/sid-low \
5654
&& rm -rf /var/lib/apt/lists/*
5755

58-
# Upgrade bundled npm to 11.14.1 to pick up patched transitive dependencies
59-
# (picomatch 4.0.4, minimatch 10.2.5, tar 7.5.13).
60-
# node:24.16.0 ships npm 11.12.1 which still vendors picomatch 4.0.3 and
61-
# brace-expansion 5.0.4. Replace ip-address with 10.1.1 to fix
62-
# GHSA-v2v4-37r5-5v8g (still bundled at 10.1.0 even in npm 11.14.1).
63-
# Patch brace-expansion to 5.0.6 (GHSA-jxxr-4gwj-5jf2; npm 11.14.1 vendors 5.0.5).
56+
# Upgrade bundled npm and patch vendored dependencies (ip-address,
57+
# brace-expansion) to versions that clear vulnerability scanners.
6458
RUN npm install -g npm@11.14.1 --force && \
6559
cd /usr/local/lib/node_modules/npm/node_modules && \
6660
npm pack ip-address@10.1.1 && \
@@ -91,8 +85,7 @@ RUN pnpm add -g typescript@~5.7.2 \
9185
vitest@^4.1.1
9286

9387
# Replace the prebuilt @oxlint-tsgolint/linux-* binary with the locally
94-
# rebuilt one (go1.26.3). pnpm installs the platform-specific binary at
95-
# {pnpm-global-store}/.pnpm/@oxlint-tsgolint+linux-{arch}@.../node_modules/@oxlint-tsgolint/linux-{arch}/tsgolint.
88+
# rebuilt one so it embeds the patched Go stdlib.
9689
COPY --from=tsgolint-rebuild /out/tsgolint /tmp/tsgolint-rebuilt
9790
RUN chmod +x /tmp/tsgolint-rebuilt && \
9891
set -eux; \

generators/go/model/Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM node:24.16-alpine3.23 AS node
22

3-
FROM golang:1.26.3-alpine3.23
3+
FROM golang:1.26.4-alpine3.23
44

5-
# Go 1.26.3 ships the CVE-2026-33814 fix in h2_bundle.go but src/go.mod
6-
# still pins x/net v0.47.1; bump SBOM files to v0.53.0 to match the code.
5+
# Patch src/go.mod to bump x/net so SBOM scanners no longer flag a stale
6+
# pseudo-version.
77
RUN sed -i 's|golang.org/x/net v0.47.1-[^ ]*|golang.org/x/net v0.53.0|' \
88
/usr/local/go/src/go.mod /usr/local/go/src/vendor/modules.txt && \
99
sed -i '/golang.org\/x\/net v0.47.1-/d' /usr/local/go/src/go.sum
@@ -27,9 +27,8 @@ COPY --from=node /usr/local/lib/node_modules /usr/local/lib/node_modules
2727
RUN ln -s ../lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm \
2828
&& ln -s ../lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx
2929

30-
# Patch npm's bundled picomatch@4.0.3 -> 4.0.4 (GHSA-c2c7-rcm5-vvqj,
31-
# GHSA-3v7f-55p6-f55p) and brace-expansion@5.0.4 -> 5.0.6
32-
# (GHSA-jxxr-4gwj-5jf2) copied from the node stage.
30+
# Patch npm's bundled picomatch and brace-expansion to versions that clear
31+
# vulnerability scanners.
3332
RUN for dir in \
3433
/usr/local/lib/node_modules/npm/node_modules/picomatch \
3534
/usr/local/lib/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch; do \

0 commit comments

Comments
 (0)