CVE-2023-45290
MEDIUMGo standard library net/textproto < 1.21.8 and 1.22.0-0-1.22.1 - Denial of Service via Multipart Form Line Parsing
Title source: llmDescription
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 (6)
Core 6
Core References
Various Sources
https://go.dev/cl/569341
Various Sources
https://pkg.go.dev/vuln/GO-2024-2599
Issue Tracking
https://go.dev/issue/65383
Vendor Advisory
https://security.netapp.com/advisory/ntap-20240329-0004/
Scores
CVSS v3
6.5
EPSS
0.0116
EPSS Percentile
62.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-770
Status
published
Products (2)
Go standard library/net/textproto
< 1.21.8
Go standard library/net/textproto
1.22.0-0 - 1.22.1
Published
Mar 05, 2024
Tracked Since
Feb 18, 2026