CVE-2025-22871

Request smuggling due to acceptance of invalid chunked data in net/http

Critical · published April 8, 2025

CVSS v3.1
9.1
EPSS
1%
Percentile
57.0
In the wild
Unconfirmed
What it is

🔥 A bare line feed (LF) could be your server's undoing! This vulnerability in the net/http package allows sneaky request smuggling by improperly accepting LFs in chunked data — an unexpected twist that could leave doors wide open! Think of this like a restaurant that lets a waiter pass orders with missing details — without proper checks, a customer might end up receiving someone else's meal entirely! Similarly, if a server incorrectly handles chunked data, malicious requests could slip through undetected. An attacker could exploit this flaw to smuggle requests through the server, potentially leading to unauthorized access. This could result in data leaks, session hijacking, or even the complete takeover of server functionality — a nightmarish scenario indeed!

Put simply

Think of this like a restaurant that lets a waiter pass orders with missing details — without proper checks, a customer might end up receiving someone else's meal entirely! Similarly, if a server incorrectly handles chunked data, malicious requests could slip through undetected. This vulnerability arises because the net/http package fails to properly validate chunk-size lines when a bare LF is used, allowing for request smuggling under certain server configurations.

What to do

An attacker could exploit this flaw to smuggle requests through the server, potentially leading to unauthorized access. This could result in data leaks, session hijacking, or even the complete takeover of server functionality — a nightmarish scenario indeed! Immediate action is needed: update to the patched version of the net/http package as soon as it's available, and review server configurations to ensure they reject improper chunk-size lines. Regular audits of all related services are also highly recommended! You've got this! Stay proactive and secure your server by tackling this vulnerability head-on! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00826 · 57.0th percentile
Published
2025-04-08T20:04Z
EPSS history
Timeline
  • 08 APR 20:04Z
    Request smuggling due to acceptance of invalid chunked data in net/http
    cvelistv5