Vulnerability CVE-2023-45290: Information

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.

Published: March 6, 2024
Modified: May 1, 2024

Fixed packages

Package name
Branch
Fixed in version
Version from repository
Errata ID
Task #
State
golangsisyphus1.22.1-alt11.22.3-alt1ALT-PU-2024-3506-1342122Fixed
golangsisyphus_riscv641.22.1-alt11.22.3-alt1ALT-PU-2024-4203-1-Fixed
golangsisyphus_loongarch641.22.1-alt11.22.3-alt1ALT-PU-2024-3594-1-Fixed
golangp101.21.8-alt11.21.10-alt1ALT-PU-2024-3504-2342123Fixed
golangc10f11.21.8-alt11.21.10-alt1ALT-PU-2024-4847-5343662Fixed

References to Advisories, Solutions, and Tools