Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-37504.json
JSON Data
https://api.test.osv.dev/v1/vulns/AZL-37504
Upstream
Published
2024-03-05T23:15:07Z
Modified
2026-04-01T05:13:16.126572Z
Summary
CVE-2023-45290 affecting package golang for versions less than 1.21.6-1
Details

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.

References

Affected packages

Azure Linux:2 / golang

Package

Name
golang
Purl
pkg:rpm/azure-linux/golang

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.18.0
Fixed
1.21.6-1

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-37504.json"