Skip to content

[Aikido] Fix security issue in x/net via minor version upgrade from 0.58.0 to 0.60.0 - #129

Draft
aikido-autofix[bot] wants to merge 1 commit into
masterfrom
fix/aikido-security-MAINT-1808-update-packages-198844186-vusq
Draft

aikido-autofix[bot] wants to merge 1 commit into
masterfrom
fix/aikido-security-MAINT-1808-update-packages-198844186-vusq

Conversation

@aikido-autofix

Copy link
Copy Markdown
Contributor

Fixes HTTP/2 memory exhaustion via oversized Trailer headers and a double flow-control refund that bypasses connection buffer limits, both enabling resource-exhaustion DoS.

✅ 2 CVEs resolved by this upgrade

This PR will resolve the following CVEs:

Issue Severity           Description
CVE-2026-78659
MEDIUM
[golang.org/x/net] A malicious HTTP/2 client can send a "Trailer" header declaring a large number of fields, forcing the server to allocate excessive memory for the Request.Trailer map and bypass header size limits, enabling a denial of service.
CVE-2026-78663
MEDIUM
[golang.org/x/net] The HTTP/2 server refunds connection-level flow control twice for the same data (on stream reset and again on handler read), letting a malicious client bypass the MaxReceiveBufferPerConnection limit. This enables excessive buffered data consumption, leading to resource exhaustion (denial of service).
🔗 Related Tasks
🤖 Remediation details

Update golang.org/x/net to v0.60.0

This PR raises golang.org/x/net from v0.58.0 to v0.60.0, the patched version for the advisories on that module. The change is in the root go.mod and go.sum. Three indirect golang.org/x modules also moved because x/net v0.60.0 requires newer versions of them.

golang.org/x/net

golang.org/x/net is an indirect dependency in the root module. It was raised with go get golang.org/x/net@v0.60.0, the lowest published version that meets the patched floor. Before the update, go build ./... passed and a baseline go mod tidy changed nothing, so go mod tidy was safe to run again afterwards. The updated module still builds. Nothing else in the repo needed changes: it has no go.work, no vendor directory and no other go.mod.

Version changes

Package From To Why updated
golang.org/x/net v0.58.0 v0.60.0 Direct CVE fix
golang.org/x/crypto v0.55.0 v0.57.0 Transitive, required by x/net v0.60.0
golang.org/x/sys v0.47.0 v0.48.0 Transitive, required by x/net v0.60.0
golang.org/x/text v0.41.0 v0.42.0 Transitive, required by x/net v0.60.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aikido Label created by Aikido AutoFix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants