cve.bz

CVE-2024-35192 aquasecurity trivy: Insufficiently Protected Credentials

5.5 mediumEPSS 0.2%Fix available

Medium (5.5) in aquasecurity trivy. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/aquasecurity/trivy 0.51.2.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-05-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-522 Insufficiently Protected Credentials
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-35192 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-35192?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-35192?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-35192 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
aquasecurity trivy< 0.51.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xcq4-m2r3-cmrjGogithub.com/aquasecurity/trivy<0.51.20.51.2
GO-2024-2870Gogithub.com/aquasecurity/trivy<0.51.20.51.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSEPackage Hub 15 SP5trivy0.54.1-bp155.2.3.1openSUSE-SU-2024:0268-1
SUSEPackage Hub 15 SP6trivy0.54.1-bp156.2.3.1openSUSE-SU-2024:0269-1
openSUSELeap 15.5trivy0.54.1-bp155.2.3.1openSUSE-SU-2024:0268-1
openSUSELeap 15.6trivy0.54.1-bp156.2.3.1openSUSE-SU-2024:0269-1
openSUSETumbleweedtrivy0.52.0-1.1openSUSE-SU-2024:14030-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-522 (13).

References

Check your stackJSON