VDB

CVE-2023-24534

CVE-2023-24534 PUBLISHED CVSS 7.5 HIGH

Excessive memory allocation in net/http and net/textproto

Reported by go · Published April 6, 2023

net/textproto is fixed in 1.20.3 and 1.19.8 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
net/textprotoGo Modules1.20.3, 1.19.8
stdlibGo Modules1.20.3, 1.19.8
goAlpine1.20.3-r0, 1.19.8-r0
golang-srcAmazon Linux1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.4
golang-binAmazon Linux1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.4
kubeflow-katibWolfi0.19.0-r40, 0.19.0-r31
falcoWolfi0.37.1-r0
falcoChainguard0.37.1-r0
golang-sharedAmazon Linux1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.4
golang-raceAmazon Linux1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.4
go-1.19Chainguard1.19.8-r0
golang-testsAmazon Linux1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.4

14 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Go standard librarynet/textproto0, 1.20.0-0
alpinego0, 0
amazon:2golang-src0
amazon:2golang-bin0
wolfikubeflow-katib0, 0
wolfifalco0
chainguardfalco0
amazon:2golang-shared0
amazon:2023golang-race0
Gostdlib
chainguardgo-1.190
amazon:2golang-race0
amazon:2golang-tests0
amazon:2golang0
amazon:2023golang-bin0
amazon:2023golang0
Go standard librarynet/textproto1.20.0-0, 0
alpinenomad0, 0
amazon:2023golang-shared0
amazon:2023golang-tests0

…and 12 more

Timeline

  • Apr 5, 2023 CVE Published
  • Apr 7, 2023 EPSS Score (30 in total, the first dated here)
  • Feb 12, 2025 CVE Updated
  • Feb 20, 2026 Security Advisory (58 in total, the first dated here)
  • Mar 21, 2026 Distribution Patch (55 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-24534
vulnetix vdb fixes CVE-2023-24534

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-24534/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›