CVE-2023-45290
Last modified
CVE-2023-45290 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 1.17% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2023-45290?
How severe is CVE-2023-45290?
How do I fix CVE-2023-45290?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-45284On Windows, The IsLocal function does not correctly detect r…5.3
- CVE-2023-45285Using go get to fetch a module with the ".git" suffix may un…7.5
- CVE-2023-45286A race condition in go-resty can result in HTTP request body…5.9
- CVE-2023-45287Before Go 1.20, the RSA based TLS key exchanges used the mat…7.5
- CVE-2023-45288An attacker may cause an HTTP/2 endpoint to read arbitrary a…7.5
- CVE-2023-45289When following an HTTP redirect to a domain which is not a s…4.3
- CVE-2023-45291Rejected reason: reserved but not needed
- CVE-2023-45292When using the default implementation of Verify to check a C…5.3
- CVE-2023-4530Improper Neutralization of Special Elements used in an SQL C…9.8
- CVE-2023-45303ThingsBoard before 3.5 allows Server-Side Template Injection…8.8
- CVE-2023-4531Improper Neutralization of Special Elements used in an SQL C…9.8
- CVE-2023-45311fsevents before 1.2.11 depends on the https://fsevents-binar…9.8
Are you affected by CVE-2023-45290?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
