CVE-2024-35192
Fixed in a distro release EPSS <1%CVSS 5.5
Trivy is a security scanner. Prior to 0.51.2, if a malicious actor is able to trigger Trivy to scan container images from a crafted malicious registry, it could result in the leakage of credentials for legitimate registries such as AWS Elastic Container Registry (ECR), Google Cloud Artifact/Container Registry, or Azure Container Registry (ACR). These tokens can then be used to push/pull images from those registries to which the identity/user running Trivy has access. Systems are not affected if the default credential provider chain is unable to obtain valid credentials. This vulnerability only applies when scanning container images directly from a registry. This vulnerability is fixed in 0.51.2.
Products: aquasecurity trivy
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Go | github.com/aquasecurity/trivy | 0.51.2 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | k8sgpt | 0.3.32-r1 |
| Chainguard | kubescape | 3.0.12-r0 |
| Chainguard | zot | 2.0.4-r4 |
| SUSE Package Hub 15 SP5 | trivy | 0.54.1-bp155.2.3.1 |
| SUSE Package Hub 15 SP6 | trivy | 0.54.1-bp156.2.3.1 |
| Wolfi | k8sgpt | 0.3.32-r1 |
| Wolfi | kubescape | 3.0.12-r0 |
| Wolfi | zot | 2.0.4-r4 |
| openSUSE Leap 15.5 | trivy | 0.54.1-bp155.2.3.1 |
| openSUSE Leap 15.6 | trivy | 0.54.1-bp156.2.3.1 |
| openSUSE Tumbleweed | trivy | 0.52.0-1.1 |