Request Smuggling in net/http Package
CVE-2025-22871
Key Information:
- Vendor
Go Standard Library
- Status
- Net/http/internal
- CVE ID
- CVE ID:
- CVE-2025-22871
- Vendor
- CVE Published:
- 8 April 2025
- Fixed in
- Fixed in:
- 1.23.8, 1.24.2
Timeline
Vulnerability published
- ๐ฐ
First article discovered by VulDB
Vulnerability Reserved
Badges
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Update to a fixed version
Install the net/http/internal release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach net/http/internal. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Patch this week"
- It can be exploited remotely without credentials.
- Its CVSS severity is critical (9.1).
What is CVE-2025-22871?
CVE-2025-22871 is a vulnerability in the Go Standard Library's net/http/internal package. It arises from improper handling of line terminators, specifically the acceptance of a bare LF in chunked data chunk-size lines. An attacker can exploit this flaw to perform request smuggling when a net/http server interacts with another server that incorrectly accepts this line terminator.
The vulnerability is present in version 1.23.8 of the Go programming language and has been addressed in subsequent releases.
Potential Impact of CVE-2025-22871
- Request Smuggling: An attacker can manipulate HTTP requests, potentially leading to unauthorized actions or data exposure between servers.
News Articles
ALT Linux - All branches - errata ALT-PU-2025-5058-2 - Information
EN EN RULast changes Packages Images Maintainers Fixes Tasks About repository Wiki Mailing ListVulnerabilitiesCVE-2025-22871 Last changesPackagesMaintainersFixesTasksAbout repositoryWikiMailing...
ALT Linux - All branches - errata ALT-PU-2025-5091-2 - Information
EN EN RULast changes Packages Images Maintainers Fixes Tasks About repository Wiki Mailing ListVulnerabilitiesCVE-2025-22871 Last changesPackagesMaintainersFixesTasksAbout repositoryWikiMailing...
ALT Linux - All branches - errata ALT-PU-2025-5056-2 - Information
EN EN RULast changes Packages Images Maintainers Fixes Tasks About repository Wiki Mailing ListVulnerabilitiesCVE-2025-22871 Last changesPackagesMaintainersFixesTasksAbout repositoryWikiMailing...
References
More Go Standard Library Vulnerabilities
Certificate Trust Issue in Go Affecting Security
Insufficient Host Validation in Go's URL Parsing Component
Resource Consumption Vulnerability in Go's Error Handling
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction
