From 85aebe8792e84b657cd9bda9254431725f028d9e Mon Sep 17 00:00:00 2001 From: Keegan Witt Date: Tue, 10 Nov 2026 02:23:29 -0500 Subject: [PATCH 1/2] Update Brotli for CVE-2026-111497 (#54234) * Update Brotli for CVE-2026-111497 Upgrade github.com/andybalholm/brotli to 1.2.7 to address the malformed-input decoder panic described in GHSA-c9gr-gmg4-2vqv. * Regenerate NOTICE for the Brotli dependency update Record Brotli v1.2.7 in the generated dependency notices so the notice check matches the updated Go module. Assisted-By: Codex --------- Co-authored-by: Dominik Rosiek <6997361+macdewee@users.noreply.github.com> (cherry picked from commit 81f8463d79579b806cdc77340aa164d27ba0b476) # Conflicts: # NOTICE.txt # go.mod # go.sum --- NOTICE.txt | 8 ++++++++ ...e-brotli-to-1.2.7-to-fix-malformed-input-decoding.yaml | 4 ++++ go.mod | 4 ++++ go.sum | 5 +++++ 4 files changed, 21 insertions(+) create mode 100644 changelog/fragments/1793295453-update-brotli-to-1.2.7-to-fix-malformed-input-decoding.yaml diff --git a/NOTICE.txt b/NOTICE.txt index 924627d63d33..4ca381a9dc00 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -44897,11 +44897,19 @@ SOFTWARE. -------------------------------------------------------------------------------- Dependency : github.com/andybalholm/brotli +<<<<<<< HEAD Version: v1.2.0 Licence type (autodetected): MIT -------------------------------------------------------------------------------- Contents of probable licence file $GOMODCACHE/github.com/andybalholm/brotli@v1.2.0/LICENSE: +======= +Version: v1.2.7 +Licence type (autodetected): MIT +-------------------------------------------------------------------------------- + +Contents of probable licence file $GOMODCACHE/github.com/andybalholm/brotli@v1.2.7/LICENSE: +>>>>>>> 81f8463 (Update Brotli for CVE-2026-111497 (#54234)) Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. diff --git a/changelog/fragments/1793295453-update-brotli-to-1.2.7-to-fix-malformed-input-decoding.yaml b/changelog/fragments/1793295453-update-brotli-to-1.2.7-to-fix-malformed-input-decoding.yaml new file mode 100644 index 000000000000..22615cc4aab9 --- /dev/null +++ b/changelog/fragments/1793295453-update-brotli-to-1.2.7-to-fix-malformed-input-decoding.yaml @@ -0,0 +1,4 @@ +kind: security +summary: Update Brotli to 1.2.7 to fix a decoder panic on malformed input. +description: Addresses GHSA-c9gr-gmg4-2vqv, the Go decoder panic related to CVE-2026-111497. +component: all diff --git a/go.mod b/go.mod index c7de4250907d..29f1de1003fb 100644 --- a/go.mod +++ b/go.mod @@ -328,7 +328,11 @@ require ( github.com/Velocidex/ordereddict v0.0.0-20230909174157-2aa49cc5d11d // indirect github.com/Velocidex/yaml/v2 v2.2.8 // indirect github.com/VictoriaMetrics/easyproto v0.1.4 // indirect +<<<<<<< HEAD github.com/andybalholm/brotli v1.2.0 // indirect +======= + github.com/andybalholm/brotli v1.2.7 // indirect +>>>>>>> 81f8463 (Update Brotli for CVE-2026-111497 (#54234)) github.com/antlr4-go/antlr/v4 v4.13.1 // indirect github.com/apache/arrow/go/v15 v15.0.2 // indirect github.com/apache/thrift v0.25.0 diff --git a/go.sum b/go.sum index 6fbeb497687e..1d63db982e7a 100644 --- a/go.sum +++ b/go.sum @@ -186,8 +186,13 @@ github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b h1:mimo19zliBX/vS github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b/go.mod h1:fvzegU4vN3H1qMT+8wDmzjAcDONcgo2/SZ/TyfdUOFs= github.com/alexbrainman/sspi v0.0.0-20250919150558-7d374ff0d59e h1:4dAU9FXIyQktpoUAgOJK3OTFc/xug0PCXYCqU0FgDKI= github.com/alexbrainman/sspi v0.0.0-20250919150558-7d374ff0d59e/go.mod h1:cEWa1LVoE5KvSD9ONXsZrj0z6KqySlCCNKHlLzbqAt4= +<<<<<<< HEAD github.com/andybalholm/brotli v1.2.0 h1:ukwgCxwYrmACq68yiUqwIWnGY0cTPox/M94sVwToPjQ= github.com/andybalholm/brotli v1.2.0/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY= +======= +github.com/andybalholm/brotli v1.2.7 h1:UgafRPGMam5ySHfRkhthMqOFA6IFoeF3D7mWIDLjG5A= +github.com/andybalholm/brotli v1.2.7/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY= +>>>>>>> 81f8463 (Update Brotli for CVE-2026-111497 (#54234)) github.com/antlr4-go/antlr/v4 v4.13.1 h1:SqQKkuVZ+zWkMMNkjy5FZe5mr5WURWnlpmOuzYWrPrQ= github.com/antlr4-go/antlr/v4 v4.13.1/go.mod h1:GKmUxMtwp6ZgGwZSva4eWPC5mS6vUAmOABFgjdkM7Nw= github.com/apache/arrow-go/v18 v18.4.1 h1:q/jVkBWCJOB9reDgaIZIdruLQUb1kbkvOnOFezVH1C4= From 339c3a178f968afccfcdaadf21dfdc9059bb9885 Mon Sep 17 00:00:00 2001 From: Dominik Rosiek Date: Tue, 10 Nov 2026 14:09:02 +0100 Subject: [PATCH 2/2] deps: resolve conflict markers left in cherry-pick of #54234 Keep the 9.5 side of each conflict in go.mod, go.sum and NOTICE.txt and only apply the brotli bump to v1.2.7 from the original commit. The unrelated alexbrainman/sspi bump from main is not introduced. Co-Authored-By: Claude Sonnet 5.5 --- NOTICE.txt | 8 -------- go.mod | 4 ---- go.sum | 5 ----- 3 files changed, 17 deletions(-) diff --git a/NOTICE.txt b/NOTICE.txt index 4ca381a9dc00..b0ad23e0cfac 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -44897,19 +44897,11 @@ SOFTWARE. -------------------------------------------------------------------------------- Dependency : github.com/andybalholm/brotli -<<<<<<< HEAD -Version: v1.2.0 -Licence type (autodetected): MIT --------------------------------------------------------------------------------- - -Contents of probable licence file $GOMODCACHE/github.com/andybalholm/brotli@v1.2.0/LICENSE: -======= Version: v1.2.7 Licence type (autodetected): MIT -------------------------------------------------------------------------------- Contents of probable licence file $GOMODCACHE/github.com/andybalholm/brotli@v1.2.7/LICENSE: ->>>>>>> 81f8463 (Update Brotli for CVE-2026-111497 (#54234)) Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. diff --git a/go.mod b/go.mod index 29f1de1003fb..f8297648f0fb 100644 --- a/go.mod +++ b/go.mod @@ -328,11 +328,7 @@ require ( github.com/Velocidex/ordereddict v0.0.0-20230909174157-2aa49cc5d11d // indirect github.com/Velocidex/yaml/v2 v2.2.8 // indirect github.com/VictoriaMetrics/easyproto v0.1.4 // indirect -<<<<<<< HEAD - github.com/andybalholm/brotli v1.2.0 // indirect -======= github.com/andybalholm/brotli v1.2.7 // indirect ->>>>>>> 81f8463 (Update Brotli for CVE-2026-111497 (#54234)) github.com/antlr4-go/antlr/v4 v4.13.1 // indirect github.com/apache/arrow/go/v15 v15.0.2 // indirect github.com/apache/thrift v0.25.0 diff --git a/go.sum b/go.sum index 1d63db982e7a..4b50d3b3d602 100644 --- a/go.sum +++ b/go.sum @@ -186,13 +186,8 @@ github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b h1:mimo19zliBX/vS github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b/go.mod h1:fvzegU4vN3H1qMT+8wDmzjAcDONcgo2/SZ/TyfdUOFs= github.com/alexbrainman/sspi v0.0.0-20250919150558-7d374ff0d59e h1:4dAU9FXIyQktpoUAgOJK3OTFc/xug0PCXYCqU0FgDKI= github.com/alexbrainman/sspi v0.0.0-20250919150558-7d374ff0d59e/go.mod h1:cEWa1LVoE5KvSD9ONXsZrj0z6KqySlCCNKHlLzbqAt4= -<<<<<<< HEAD -github.com/andybalholm/brotli v1.2.0 h1:ukwgCxwYrmACq68yiUqwIWnGY0cTPox/M94sVwToPjQ= -github.com/andybalholm/brotli v1.2.0/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY= -======= github.com/andybalholm/brotli v1.2.7 h1:UgafRPGMam5ySHfRkhthMqOFA6IFoeF3D7mWIDLjG5A= github.com/andybalholm/brotli v1.2.7/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY= ->>>>>>> 81f8463 (Update Brotli for CVE-2026-111497 (#54234)) github.com/antlr4-go/antlr/v4 v4.13.1 h1:SqQKkuVZ+zWkMMNkjy5FZe5mr5WURWnlpmOuzYWrPrQ= github.com/antlr4-go/antlr/v4 v4.13.1/go.mod h1:GKmUxMtwp6ZgGwZSva4eWPC5mS6vUAmOABFgjdkM7Nw= github.com/apache/arrow-go/v18 v18.4.1 h1:q/jVkBWCJOB9reDgaIZIdruLQUb1kbkvOnOFezVH1C4=