Skip to content

Fix CVE-2025-22871: Upgrade Go to 1.23.8#17

Open
chainloop-platform[bot] wants to merge 1 commit intomainfrom
chainloop/fix-cve-2025-22871-20260423-223325
Open

Fix CVE-2025-22871: Upgrade Go to 1.23.8#17
chainloop-platform[bot] wants to merge 1 commit intomainfrom
chainloop/fix-cve-2025-22871-20260423-223325

Conversation

@chainloop-platform
Copy link
Copy Markdown

Summary

Upgraded the Go toolchain from 1.21 to 1.23.8 to patch a critical HTTP request smuggling vulnerability in the net/http package.

Vulnerability Fixed

CVE-2025-22871 (CRITICAL): The net/http package improperly accepts a bare LF as a line terminator in chunked data chunk-size lines, which can permit request smuggling if a net/http server is used in conjunction with a server that incorrectly accepts a bare LF as part of a chunk-ext.

Changes Made

  • Updated go.mod to use Go 1.23.8, which includes the patched net/http implementation that rejects chunk-size lines containing bare LF characters
  • This fix eliminates the request smuggling attack vector when the server is deployed behind reverse proxies or load balancers

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.

0 participants