CVE-2025-22871
Request smuggling due to acceptance of invalid chunked data in net/http
9.1
CRITICAL
CVSS 3.1
EPSS 0.29%
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.
How to fix CVE-2025-22871
To remediate CVE-2025-22871, upgrade the affected package to a fixed version below.
- —upgrade to 1.23.8 or later
- —no fix listed
- —no fix listed
- —upgrade to 1.24.2-1 or later
- —upgrade to 1.23.8 or later
- —upgrade to 2025.1.0 or later
Is CVE-2025-22871 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (6)
- from 0, < 1.23.8, >= 1.24.0-0, < 1.24.2
- from 0
- from 0
- from 0, < 1.24.2-1
- from 0, < 1.23.8, >= 1.24.0-0, < 1.24.2
- from 0, < 2025.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |