Improper resource allocation In golang-1.15
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 11 | - | ||
debian 12 | - | ||
go | 1.21.8 | ||
rpm rhel9 | 4:4.9.4-4.el9_4 | ||
rpm rhel8 | 0:1.21.9-1.module+el8.10.0+21671+b35c3b78 | ||
rpm rhel9 | 2:1.33.7-2.el9_4 | ||
rpm rhel9 | - | - | |
rpm rhel9 | 1:1.4.0-3.el9_4 | ||
rpm rhel8 | 0:3.4.1-2.el8_10 | ||
rpm rhel9 | 0:3.4.1-2.el9_4 |
1-10 of 25
10
Aliases
References