CVE-2023-45290
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.44%• Percentile: 64%
Techniques & Countermeasures
- CWE-770•Allocation of Resources Without Limits or Throttling
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected Systems
- chainguard•cluster-autoscaler-1.27
< 1.27.5-r2
- chainguard•cluster-autoscaler-1.27-compat
< 1.27.5-r2
- chainguard•cluster-autoscaler-1.28
< 1.28.2-r2
- chainguard•cluster-autoscaler-1.28-compat
< 1.28.2-r2
- chainguard•newrelic-fluent-bit-output
< 1.19.2-r1
- wolfi•cluster-autoscaler-1.27
< 1.27.5-r2
- wolfi•cluster-autoscaler-1.27-compat
< 1.27.5-r2
- wolfi•cluster-autoscaler-1.28
< 1.28.2-r2
- wolfi•cluster-autoscaler-1.28-compat
< 1.28.2-r2
- go standard library•net/textproto
< 1.21.8 | ≥ 1.22.0-0, < 1.22.1
- Go•stdlib
≥ 1.22.0-0, < 1.22.1