Request Smuggling in net/http Package

Patch this weekData theft and tampering over the network, no login needed.
9.1CRITICAL

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

๐Ÿ“ˆ Score: 208๐Ÿ“ฐ News Worthy

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
net/http/internal 0 to below 1.23.8 is vulnerable
net/http/internal 1.24.0-0 to below 1.24.2 is vulnerable

Install the net/http/internal release that fixes your version line, or later:

1.23.81.24.2
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

  1. Request Smuggling: An attacker can manipulate HTTP requests, potentially leading to unauthorized actions or data exposure between servers.

News Articles

favicon imageALT Linux Packages

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...

favicon imageALT Linux Packages

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...

favicon imageALT Linux Packages

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

Certificate Trust Issue in Go Affecting Security

CVE-2026-111943
Go Standard LibraryCrypto/x509๐Ÿ˜„๐Ÿ‘พ6.8MEDIUM

Insufficient Host Validation in Go's URL Parsing Component

CVE-2026-25679
Go Standard LibraryNet/url๐Ÿ”ฅ๐Ÿ˜„7.5HIGH

Resource Consumption Vulnerability in Go's Error Handling

CVE-2025-61729
Go Standard LibraryCrypto/x509๐Ÿ˜„7.5HIGH
View more Go Standard Library vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

CVSS V3.1

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Credit

Jeppe Bonde Weikop
.