Rapid7

vulnerability

Ubuntu: (Multiple Advisories) (CVE-2023-45290): Go vulnerabilities

Severity
7
CVSS
(AV:N/AC:L/Au:S/C:N/I:N/A:C)
Published
Mar 5, 2024
Added
Jul 10, 2024
Modified
Apr 16, 2026

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.

Solutions

ubuntu-pro-upgrade-golang-1-18ubuntu-pro-upgrade-golang-1-18-goubuntu-pro-upgrade-golang-1-18-srcubuntu-upgrade-golang-1-17ubuntu-upgrade-golang-1-17-goubuntu-upgrade-golang-1-17-srcubuntu-upgrade-golang-1-18ubuntu-upgrade-golang-1-18-goubuntu-upgrade-golang-1-18-srcubuntu-upgrade-golang-1-21ubuntu-upgrade-golang-1-21-goubuntu-upgrade-golang-1-21-srcubuntu-upgrade-golang-1-22ubuntu-upgrade-golang-1-22-goubuntu-upgrade-golang-1-22-src
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.