Advisory

GO-2025-3563

Also known as: BIT-golang-2025-22871, CVE-2025-22871, GHSA-g9pc-8g42-g6vq

Summary

Request smuggling due to acceptance of invalid chunked data in net/http

Details

The net/http package improperly accepts a bare LF as a line terminator in chunked data chunk-size lines. This 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.

Severity

Not rated by the source.

Dates

Published
2025-04-08 19:46 UTC
Modified
2026-02-17 16:13 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.23.8, introduced 1.24.0-0, fixed 1.24.2 (semver)

Fixed versions

1.23.8, 1.24.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences