CVE-2023-45290

Name
CVE-2023-45290
Description
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
security@golang.org https://go.dev/cl/569341
security@golang.org https://go.dev/issue/65383
security@golang.org https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
security@golang.org https://pkg.go.dev/vuln/GO-2024-2599
security@golang.org https://security.netapp.com/advisory/ntap-20240329-0004/
security@golang.org http://www.openwall.com/lists/oss-security/2024/03/08/4

Match rules

CPE URI Source package Min version Max version
net/textproto >= 0 < 1.21.8
net/textproto >= 1.22.0-0 < 1.22.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status