CVE-2023-24534
Excessive memory allocation in net/http and net/textproto
Description
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.
How to fix CVE-2023-24534
To remediate CVE-2023-24534, upgrade the affected package to a fixed version below.
- —upgrade to 1.19.8 or later
- —no fix listed
- —upgrade to 1.19.8-2 or later
- —upgrade to 1.19.8 or later
Is CVE-2023-24534 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 1.19.8, >= 1.20.0, < 1.20.3
- from 0
- from 0, < 1.19.8-2
- from 0, < 1.19.8, >= 1.20.0-0, < 1.20.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |