Skip to content

build(deps): Bump andybalholm/brotli to 1.2.7 - #756

Merged
mjq merged 1 commit into
mainfrom
vuln-3216/andybalholm-brotli-1.2.7
Oct 26, 2026
Merged

mjq merged 1 commit into
mainfrom
vuln-3216/andybalholm-brotli-1.2.7

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Moves github.com/andybalholm/brotli from v1.1.0 to v1.2.7 for VULN-3216 (Brotli CVE-2026-111497).

The CVE is in Google's C decoder. This Go port had the same logic error, and v1.2.7 (Oct 23) ports the upstream fix: invalid block switches are now reported as a format error. In Go the bug can only crash the process, not run code (broccoli2shell.com). vroom is exposed because internal/httputil/decompress.go decodes Content-Encoding: br request bodies with this package.

Changed: go.mod and go.sum only. v1.2.7's go.mod requires github.com/xyproto/randomstring, so go mod tidy added its hashes to go.sum. The module also gets pulled in indirectly through CAFxX/httpcompression, and MVS resolves it to v1.2.7.

Verified locally (golang:1.27, go1.27.3): go mod verify, go build ./..., go vet ./... and go test ./... all pass.

Not verified: CI, and decoding of real production payloads.

via Geoff Goldsmith.

--

View Junior Session [Sentry]

@sentry-junior
sentry-junior Bot requested a review from a team as a code owner October 26, 2026 18:22
@linear-code

linear-code Bot commented Oct 26, 2026

Copy link
Copy Markdown

VULN-3216

Picks up the port of the CVE-2026-111497 decoder fix (invalid block
switches are now reported as a format error). vroom decodes
Content-Encoding: br request bodies with this package in
internal/httputil/decompress.go.

Refs VULN-3216

Co-Authored-By: Geoff Goldsmith <geoff.goldsmith@sentry.io>

Co-Authored-By: Matt Quinn <354504+mjq@users.noreply.github.com>
@sentry-junior
sentry-junior Bot force-pushed the vuln-3216/andybalholm-brotli-1.2.7 branch from e743725 to 163d7d8 Compare October 26, 2026 19:30
@mjq
mjq enabled auto-merge (squash) October 26, 2026 19:31
@mjq
mjq merged commit 44a065f into main Oct 26, 2026
22 checks passed
@mjq
mjq deleted the vuln-3216/andybalholm-brotli-1.2.7 branch October 26, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant