CVE-2022-2879
Vulnerability Summary
Timeline
Description
Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 1.67%• Percentile: 76%
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•katib-earlystopping
< 0.19.0-r31
- chainguard•katib-suggestion-goptuna-compat
all
- chainguard•katib-suggestion-hyperband
< 0.19.0-r31
- chainguard•katib-suggestion-hyperopt
< 0.19.0-r31 | < 0.19.0-r40
- chainguard•katib-suggestion-nas-darts
< 0.19.0-r31
- chainguard•katib-suggestion-nas-enas
< 0.19.0-r31
- chainguard•katib-suggestion-optuna-enas
< 0.19.0-r31
- chainguard•katib-suggestion-pbt-enas
< 0.19.0-r31
- chainguard•katib-suggestion-skopt-enas
< 0.19.0-r31
- chainguard•katib-tfevent-metricscollector
< 0.19.0-r31
- wolfi•katib-earlystopping
< 0.19.0-r31
- wolfi•katib-suggestion-goptuna-compat
all
- wolfi•katib-suggestion-hyperband
< 0.19.0-r31
- wolfi•katib-suggestion-hyperopt
< 0.19.0-r31 | < 0.19.0-r40
- wolfi•katib-suggestion-nas-darts
< 0.19.0-r31
- wolfi•katib-suggestion-nas-enas
< 0.19.0-r31
- wolfi•katib-suggestion-optuna-enas
< 0.19.0-r31
- wolfi•katib-suggestion-pbt-enas
< 0.19.0-r31
- wolfi•katib-suggestion-skopt-enas
< 0.19.0-r31
- wolfi•katib-tfevent-metricscollector
< 0.19.0-r31
- debian•golang-1.15
all
- debian•golang-1.19
< 1.19.2-1
- go standard library•archive/tar
< 1.18.7 | ≥ 1.19.0-0, < 1.19.2
- golang•go
< 1.18.7 | ≥ 1.19.0, < 1.19.2
- Go•stdlib
≥ 1.19.0-0, < 1.19.2