What’s Vulnerable › Vulnerabilities

CVE-2025-22871: Request smuggling due to acceptance of invalid chunked data in net/http

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Go standard library net/http/internal 1.23.8, 1.24.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-22871 or the next vulnerability affects your stack