Skip to content
This repository was archived by the owner on Nov 9, 2026. It is now read-only.

fix(security): [Aikido] [SEC-611] Fix 10 security issues in go, x/net, klauspost/compress and 1 more - #32

Open
aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/aikido-security-SEC-611-update-packages-172911334-9can
Open

aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/aikido-security-SEC-611-update-packages-172911334-9can

Conversation

@aikido-autofix

@aikido-autofix aikido-autofix Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

No experiment because this is an autofix PR generated by Aikido.

Pull Request Submission Checklist

Please confirm that you have done the following before requesting reviews:

  • I have confirmed that the PR type is appropriate for the change I am making according to the Honest Pull Request and Commit Message Naming Conventions.
  • I have typed an adequate description that explains why I am making this change.
  • I have installed and run standard pre-commit hooks that lints and validates my code.

Description

Upgrade Go, golang.org/x/net, klauspost/compress, and andybalholm/brotli to fix certificate verification bypass, HTTP/2 DoS attacks, memory exhaustion, response smuggling, and integer overflow vulnerabilities.

Security Impact — CVE vulnerabilities fixed by this PR

✅ 10 CVEs resolved by this upgrade

This PR will resolve the following CVEs:

Issue Severity           Description
AIKIDO-2026-934590
HIGH
[go] certificate verification did not reject the known compromised eMudhra intermediate public keys. An attacker able to intercept a connection can use a compromised eMudhra intermediate CA key to impersonate an HTTPS server and read or modify traffic.
CVE-2026-78669
HIGH
[golang.org/x/net] A malicious HTTP/2 peer can cause excessive CPU consumption in the client or server by opening a large number of streams and then sending many small SETTINGS frames containing SETTINGS_INITIAL_WINDOW_SIZE values.
CVE-2026-78659
HIGH
[golang.org/x/net] A malicious client can send HTTP/2 requests with large "Trailer" headers to cause excessive memory allocation on servers, bypassing header size limits and potentially leading to denial of service.
CVE-2026-78660
HIGH
[golang.org/x/net] HTTP/2 implementation insufficiently validates framing headers, allowing malformed headers to be forwarded to HTTP/1 clients in reverse proxy scenarios, enabling response smuggling attacks.
CVE-2026-97045
MEDIUM
[golang.org/x/net] In childTextNodesAreLiteral, walking up the tree previously stopped at the nearest foreign ancestor once an HTML integration point was found. However, that integration point may itself be a descendant of an element that was foster-parented into a foreign namespace (such as <mgl...
CVE-2026-97032
MEDIUM
[golang.org/x/net] HTTP/2 servers could end up crashing due to inadvertently modifying its HPACK encoder concurrently. This happens because the server modifies the HPACK encoder from two goroutines without synchronization: one uses the encoder to encode a HEADERS frame as part of a response sent ...
CVE-2026-78663
MEDIUM
[golang.org/x/net] The HTTP/2 server can refund connection-level flow control twice for the same data: Once when a client resets a stream (refunding data for any sent-but-unread portion of the stream), and again when a request handler reads the buffered data. A malicious client can exploit this t...
CVE-2026-78661
LOW
[golang.org/x/net] HTML parser suffers from O(n²) performance degradation when processing inputs with many short text runs separated by ignored tags, causing excessive memory allocations and copies. The vulnerability enables denial-of-service attacks through algorithmic complexity exploitation.
CVE-2026-63209
HIGH
[github.com/klauspost/compress] compress provides various compression algorithms. Prior to version 1.18.7, a signed integer overflow vulnerability in s2.NewDict() allows an attacker to bypass repeat index validation by supplying a dictionary with a uvarint-encoded repeat value exceeding MaxInt64....
AIKIDO-2026-795961
MEDIUM
[github.com/andybalholm/brotli] The Brotli decoder is vulnerable to a denial of service attack when processing malformed compressed input. Specially crafted compressed data can trigger a panic, causing the decoder to crash.

Fix Details / Technical Implementation

🤖 Remediation details

Security update: Go dependencies in examples/pubsub

This PR fixes the vulnerable Go toolchain and modules go, golang.org/x/net, github.com/klauspost/compress and github.com/andybalholm/brotli. The changes are in examples/pubsub/go.mod and examples/pubsub/go.sum. They were made with go get and go mod tidy. go build ./... passed before and after.

go

The go directive was raised from 1.26 to 1.26.10 with go get go@1.26.10. This is the lowest patched release on the 1.26 line. The previous version was in the affected range (<=1.26.9).

golang.org/x/net

This is an indirect dependency, pulled in through github.com/gofiber/fiber/v2 and fasthttp. It was bumped directly with go get golang.org/x/net@v0.62.0, which is the lowest version that covers every listed advisory (the highest floor is 0.62.0). golang.org/x/sys moved with it because the new x/net requires a newer x/sys. That is a side effect, not a separate fix.

github.com/klauspost/compress

This is an indirect dependency, pulled in through fasthttp. It was bumped with go get github.com/klauspost/compress@v1.18.7, the lowest patched version. No parent bump was needed, because the module's requirement could be raised directly.

github.com/andybalholm/brotli

This is an indirect dependency, pulled in through fasthttp. It was bumped with go get github.com/andybalholm/brotli@v1.2.7, the lowest version outside the affected range (<=1.2.6). No parent bump was needed.

Version changes

Package From To Why updated
go (directive) 1.26 1.26.10 Direct fix for the Go toolchain advisory
golang.org/x/net v0.56.0 v0.62.0 Direct fix (indirect dependency)
github.com/klauspost/compress v1.18.3 v1.18.7 Direct fix (indirect dependency)
github.com/andybalholm/brotli v1.2.0 v1.2.7 Direct fix (indirect dependency)
golang.org/x/sys v0.46.0 v0.49.0 Transitive, required by the new golang.org/x/net

Related Tasks & Ticket Links

🔗 Related Tasks

@sonarqubecloud

sonarqubecloud Bot commented Nov 7, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

aikido-autofix Label created by Aikido AutoFix size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants