Trivy: Helm chart tar bomb causes OOM via unbounded io.ReadAll in parser
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| aquasecurity | trivy | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Aquasecurity | Trivy |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-q3fv-x8vg-qqm4 | Trivy: Helm chart tar bomb causes OOM via unbounded io.ReadAll in parser |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.443% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Aquasecurity
Aquasecurity trivy |
|
| Vendors & Products |
Aquasecurity
Aquasecurity trivy |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Trivy is a security scanner. Prior to 0.71.0, when Trivy scans a Helm chart archive (.tgz), its custom tar unpacker reads each entry with io.ReadAll(tr) and no size limit. An attacker who can place a malicious .tgz file in the scanned path can craft a small compressed archive that decompresses to gigabytes, causing the Trivy process to be killed by the OS OOM killer. This vulnerability is fixed in 0.71.0. | |
| Title | Trivy: Helm chart tar bomb causes OOM via unbounded io.ReadAll in parser | |
| Weaknesses | CWE-770 CWE-789 |
|
| References |
| |
| Metrics |
cvssV4_0
|