FlawAtlas
Search the atlas
CVE-2023-45290 Moderate

CVE-2023-45290

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.

Exploit probability 1.2%
Published March 5, 2024
Required by Not available
Last source change April 16, 2026

02 / AFFECTED SOFTWARE

Affected packages

Go stdlib
Bitnami golang
Chainguard newrelic-fluent-bit-output
Chainguard cluster-autoscaler-1.27
Chainguard cluster-autoscaler-1.27-compat
Wolfi cluster-autoscaler-1.27
Wolfi cluster-autoscaler-1.27-compat
Chainguard cluster-autoscaler-1.28
Chainguard cluster-autoscaler-1.28-compat
Wolfi cluster-autoscaler-1.28
Wolfi cluster-autoscaler-1.28-compat

03 / CONNECTIONS

Connected vulnerabilities

04 / EVIDENCE

Source records

Open Source Vulnerabilities CVE-2023-45290

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.

View original source
Open Source Vulnerabilities GO-2024-2599

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.

View original source
Open Source Vulnerabilities BIT-golang-2023-45290

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.

View original source

05 / REFERENCES

Further evidence