Vulnerability Details : 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.
Products affected by CVE-2023-45290
Please log in to view affected product information.
Exploit prediction scoring system (EPSS) score for CVE-2023-45290
0.28%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 51 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-45290
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
2.8
|
3.6
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2024-11-07 |
CWE ids for CVE-2023-45290
-
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.Assigned by: 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
References for CVE-2023-45290
-
https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
[security] Go 1.22.1 and Go 1.21.8 are released
-
http://www.openwall.com/lists/oss-security/2024/03/08/4
oss-security - 5 CVEs fixed in Go 1.22.1 and Go 1.21.8, 1 CVE fixed in google.golang.org/protobuf
-
https://go.dev/cl/569341
net/textproto, mime/multipart: avoid unbounded read in MIME header (569341) · Gerrit Code Review
-
https://go.dev/issue/65383
net/http: memory exhaustion in Request.ParseMultipartForm [CVE-2023-45290] · Issue #65383 · golang/go · GitHub
-
https://security.netapp.com/advisory/ntap-20240329-0004/
CVE-2023-45290 Golang Vulnerability in NetApp Products | NetApp Product Security
-
https://pkg.go.dev/vuln/GO-2024-2599
GO-2024-2599 - Go Packages
Jump to