Resource exhaustion in Golang Go

CVE-2023-24534

HTTP and MIME header parsing can allocate large amounts of memory, even when parsing small inputs, potentially leading to a denial of service. Certain unusual patterns of input data can cause the common function used to parse HTTP and MIME headers to allocate substantially more memory than required to hold the parsed headers. An attacker can exploit this behavior to cause an HTTP server to allocate large amounts of memory from a small request, potentially leading to memory exhaustion and a denial of service. With fix, header parsing now correctly allocates only the memory required to hold parsed headers.

Vulnerability class: DoS (Denial of Service)

EPSS: 0.019 (77.4th 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

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-24534?
CVE-2023-24534 is a high-severity vulnerability in Golang Go, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2023-04-06.
How severe is CVE-2023-24534?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2023-24534 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.