diff --git a/CHANGELOG.md b/CHANGELOG.md index c1df382b6..d1e628285 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed +- Pinned `curl`/`libcurl` to `>=8.20.0-r0` in the Docker image to address CVE-2026-6276. [#1449](https://github.com/sourcebot-dev/sourcebot/pull/1449) + ## [5.1.1] - 2026-07-14 - Add book a call button to sidebar. [#1441](https://github.com/sourcebot-dev/sourcebot/pull/1441) diff --git a/Dockerfile b/Dockerfile index 4a1b016c7..2d7ca781c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -166,7 +166,10 @@ ENV SOURCEBOT_LOG_LEVEL=info # ENV SOURCEBOT_TELEMETRY_DISABLED=1 # Configure dependencies -RUN apk add --no-cache git ca-certificates bind-tools tini jansson wget supervisor uuidgen curl perl jq openssl util-linux unzip && \ +# curl/libcurl are pinned to >=8.20.0-r0 to ensure CVE-2026-6276 (cookie leak +# on connection reuse with custom Host headers) is patched. `apk upgrade` +# additionally pulls in the latest patched versions of the other packages. +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 && \ apk upgrade --no-cache # Remove npm (unused — we use Yarn). The Node.js base image bundles npm