Vulnerability in Go Standard Library Net/http

CVE-2024-24791

The net/http HTTP/1.1 client mishandled the case where a server responds to a request with an "Expect: 100-continue" header with a non-informational (200 or higher) status. This mishandling could leave a client connection in an invalid state, where the next request sent on the connection will fail. An attacker sending a request to a net/http/httputil.ReverseProxy proxy can exploit this mishandling to cause a denial of service by sending "Expect: 100-continue" requests which elicit a non-informational response from the backend. Each such request leaves the proxy with an invalid connection, and causes one subsequent request using that connection to fail.

EPSS: 0.014 (70.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-24791?
CVE-2024-24791 is a high-severity vulnerability in Go Standard Library Net/http. CVSS score: 7.5/10. Published 2024-07-02.
How severe is CVE-2024-24791?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2024-24791 known to be exploited?
10 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.