Skip to content

Commit fd3aa5a

Browse files
fix: pin curl/libcurl to >=8.20.0-r0 to address CVE-2026-5773
Generated with [Linear](https://linear.app/sourcebot/issue/SOU-1504/sourcebot-devsourcebot-cve-2026-5773-curl-libcurl-wrong-file-transfer#agent-session-c22e8539) Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
1 parent a50ca10 commit fd3aa5a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,10 @@ ENV SOURCEBOT_LOG_LEVEL=info
166166
# ENV SOURCEBOT_TELEMETRY_DISABLED=1
167167

168168
# Configure dependencies
169-
RUN apk add --no-cache git ca-certificates bind-tools tini jansson wget supervisor uuidgen curl perl jq openssl util-linux unzip && \
169+
# curl/libcurl are pinned to >=8.20.0-r0 to address CVE-2026-5773 (incorrect SMB
170+
# connection reuse). Pinning also busts the layer cache so `apk upgrade` re-runs
171+
# and pulls the patched Alpine packages.
172+
RUN apk add --no-cache git ca-certificates bind-tools tini jansson wget supervisor uuidgen "curl>=8.20.0-r0" "libcurl>=8.20.0-r0" perl jq openssl util-linux unzip && \
170173
apk upgrade --no-cache
171174

172175
# Remove npm (unused — we use Yarn). The Node.js base image bundles npm

0 commit comments

Comments
 (0)