CVE-2025-22871
Request smuggling due to acceptance of invalid chunked data in net/http
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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 flaw was found in the net/http golang package. The net/http package incorrectly accepts messages that end with a line feed (LF) instead of the proper line ending. When used with another server that also misinterprets this, it can lead to request smuggling—where an attacker tricks the system to send hidden or unauthorized requests.
An update for the container-tools:rhel8 module is now available for Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions, and Red Hat Enterprise Linux 8.6 Telecommunications Update Service.
CVSS Scores
SSVC
- Decision:Attend
Timeline
- 2025-01-08 CVE Reserved
- 2025-04-04 CVE Published
- 2025-04-18 CVE Updated
- 2025-06-15 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
CAPEC
References (6)
URL | Tag | Source |
---|---|---|
https://go.dev/cl/652998 | ||
https://go.dev/issue/71988 | ||
https://groups.google.com/g/golang-announce/c/Y2uBTVKjBQk | ||
https://pkg.go.dev/vuln/GO-2025-3563 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2025-22871 | 2025-06-30 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2358493 | 2025-06-30 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Go Standard Library Search vendor "Go Standard Library" | Net/http/internal Search vendor "Go Standard Library" for product "Net/http/internal" | < 1.23.8 Search vendor "Go Standard Library" for product "Net/http/internal" and version " < 1.23.8" | en |
Affected
| ||||||
Go Standard Library Search vendor "Go Standard Library" | Net/http/internal Search vendor "Go Standard Library" for product "Net/http/internal" | >= 1.24.0-0 < 1.24.2 Search vendor "Go Standard Library" for product "Net/http/internal" and version " >= 1.24.0-0 < 1.24.2" | en |
Affected
|