CVE-2023-45290

MEDIUM

Go 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: llm
STIX 2.1

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.

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