CVE-2024-24791

Denial of service due to improper 100-continue handling in net/http

Description

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.

7.5
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.20%
Affected: Go standard library net/http
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-24791?
CVE-2024-24791 has been scored as a high severity vulnerability.
How to fix CVE-2024-24791?
To fix CVE-2024-24791, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-24791 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-24791 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-24791?
CVE-2024-24791 affects Go standard library net/http.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.