VDB

CVE-2023-45290

CVE-2023-45290 PUBLISHED CVSS 6.5 MEDIUM

Memory exhaustion in multipart form parsing in net/textproto and net/http

Reported by go · Published March 5, 2024

When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line. This permits a maliciously crafted input containing very long lines to cause allocation of arbitrarily large amounts of memory, potentially leading to memory exhaustion. With fix, the ParseMultipartForm function now correctly limits the maximum size of form lines.

Fixed versions

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

PackageEcosystemFixed in
amassChainguard4.2.0-r4
amassWolfi4.2.0-r4
k8ssandra-operator-fipsChainguard1.13.0-r1
dexChainguard2.38.0-r1
dexWolfi2.38.0-r1
golangAmazon Linux1.22.3-1.amzn2023.0.1
delveWolfi1.22.1-r1
scorecardWolfi4.13.1-r2
goreleaser-1.18Wolfi1.18.2-r6
temporal-ui-serverWolfi2.24.0-r1
bomWolfi0.6.0-r1
kube-logging-operatorWolfi4.5.6-r1

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

Risk scores

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

Affected products

VendorProductVersions
Go standard librarynet/textproto0, 1.22.0-0
chainguardamass0
wolfiamass0
chainguardk8ssandra-operator-fips0
chainguarddex0
wolfidex0
amazon:2023golang0
wolfidelve0
wolfiscorecard0
wolfigoreleaser-1.180
wolfitemporal-ui-server0
wolfibom0
wolfikube-logging-operator0
chainguardchainctl0
wolfinri-mongodb0
chainguardprometheus-redis-exporter0
chainguardhelm-push0
chainguardprometheus-pushgateway0
chainguarddynamic-localpv-provisioner-fips0
wolfiprotoc-gen-go-grpc0

…and 702 more

Timeline

  • Feb 29, 2024 CVE Published
  • Mar 6, 2024 EPSS Score (30 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (239 in total, the first dated here)
  • Aug 2, 2026 Coalition ESS Score
  • Aug 10, 2026 Distribution Patch (226 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-45290
vulnetix vdb fixes CVE-2023-45290

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-45290/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 ›