CVE-2025-22871 Details
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.
A request smuggling vulnerability has been identified in the net/http package of Go. This issue arises because the package improperly accepts a bare line feed (LF) as a line terminator in chunked data, specifically in chunk-size lines. When a net/http server interacts with another server or proxy that incorrectly interprets a bare LF in a chunk extension as part of the extension, this vulnerability can be exploited to smuggle requests.
Users can upgrade to Go versions 1.24.2 or 1.23.8, both of which include the necessary fix. Instructions for downloading these versions are available on the Go website.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 8, 2025CISA-ADP
Assessed Apr 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-783943.html | siemens-SADP | |
| http://www.openwall.com/lists/oss-security/2025/04/04/4 | CVE | Mailing ListRemedy |
| https://go.dev/cl/652998 | [email protected] | Source CodeVendor |
| https://go.dev/issue/71988 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://groups.google.com/g/golang-announce/c/Y2uBTVKjBQk | [email protected] | Mailing ListRemedyVendor |
| https://pkg.go.dev/vuln/GO-2025-3563 | [email protected] | AdvisoryBundleVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| golang.org/x/net/http | All versions |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Apr 18, 2025 | CVE Modified | CISA-ADP |
| Apr 8, 2025 | CVE Modified | CVE |
| Apr 8, 2025 | New CVE Received | [email protected] |
Volerion