CVE-2024-35192: aquasecurity trivy Insufficiently Protected Credentials
Vulnerability summary
CVE-2024-35192 is a medium (CVSS 5.5) Insufficiently Protected Credentials vulnerability in aquasecurity trivy. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 6Timeline
- 20-05-2024PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
- OSV · GoEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
0.00 pp
From 0.19% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard3 products
- k8sgpt< 0.3.32-r1
- kubescape< 3.0.12-r0
- zot< 2.0.4-r4
Wolfi3 products
- k8sgpt< 0.3.32-r1
- kubescape< 3.0.12-r0
- zot< 2.0.4-r4
Aquasecurity1 product
- trivy< 0.51.2
Github.com/aquasecurity1 product
- trivy< 0.51.2
Opensuse1 product
- trivy&distro=openSUSE Tumbleweed< 0.52.0-1.1
5 vendors · 9 products