High severity · published Jul 2, 2024
CVE-2024-24791
Denial of service due to improper 100-continue handling in net/http
7.5
CVSS
1.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.4% · higher than 73% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
net/http · Go standard library
before 1.21.12; 1.22.0-0 before 1.22.5 · source: vendor
NE
Net\/http · GO Standard Library
before 1.21.12; 1.22.0-0 before 1.22.5 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-24791
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-24791
go.dev
https://go.dev/cl/591255
go.dev
https://go.dev/issue/67555
groups.google.com
https://groups.google.com/g/golang-dev/c/t0rK-qHBqzY/m/6MMoAZkMAgAJ
pkg.go.dev
https://pkg.go.dev/vuln/GO-2024-2963
security.netapp.com
https://security.netapp.com/advisory/ntap-20241004-0004/
More from net/http
9.6
CVE-2026-39821
Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
9.1
CVE-2026-78663
Double flow control refund on HTTP/2 server streams in net/http
7.5
CVE-2026-97032
HTTP/2 server crash due to HPACK encoder race in net/http
7.5
CVE-2026-94439
HTTP/1 server connection desynchronization after 2xx CONNECT response in net/http
7.5
CVE-2026-78669
Excessive CPU consumption from repeated initial window changes in net/http
