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.
Fixed packages
Package name | Branch | Fixed in version | Version from repository | Errata ID | Task # | State |
---|---|---|---|---|---|---|
golang | sisyphus | 1.22.1-alt1 | 1.22.3-alt1 | ALT-PU-2024-3506-1 | 342122 | Fixed |
golang | sisyphus_riscv64 | 1.22.1-alt1 | 1.22.3-alt1 | ALT-PU-2024-4203-1 | - | Fixed |
golang | sisyphus_loongarch64 | 1.22.1-alt1 | 1.22.3-alt1 | ALT-PU-2024-3594-1 | - | Fixed |
golang | p10 | 1.21.8-alt1 | 1.21.10-alt1 | ALT-PU-2024-3504-2 | 342123 | Fixed |
golang | c10f1 | 1.21.8-alt1 | 1.21.10-alt1 | ALT-PU-2024-4847-5 | 343662 | Fixed |