CVE-2024-35192

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-35192
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35192.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-35192
Aliases
Downstream
Related
Published
2024-05-20T20:36:56Z
Modified
2025-10-22T18:42:27.405522Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N CVSS Calculator
Summary
Trivy possibly leaks registry credential when scanning images from malicious registries
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-522"
    ]
}
References

Affected packages

Git / github.com/aquasecurity/trivy

Affected ranges

Type
GIT
Repo
https://github.com/aquasecurity/trivy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.0.10
v0.0.11
v0.0.12
v0.0.13
v0.0.14
v0.0.15
v0.0.16
v0.0.2
v0.0.3
v0.0.4
v0.0.5
v0.0.6
v0.0.7
v0.0.8
v0.0.9
v0.1.0
v0.1.1
v0.1.2
v0.1.3
v0.1.4
v0.1.5
v0.1.6
v0.1.7
v0.10.0
v0.10.1
v0.10.2
v0.11.0
v0.12.0
v0.13.0
v0.14.0
v0.15.0
v0.16.0
v0.17.0
v0.17.1
v0.17.2
v0.18.0
v0.18.1
v0.18.2
v0.18.3
v0.19.0
v0.19.1
v0.19.2
v0.2.0
v0.2.1
v0.20.0
v0.20.1
v0.20.2
v0.21.0
v0.21.1
v0.21.2
v0.21.3
v0.22.0
v0.23.0
v0.24.0
v0.24.1
v0.24.2
v0.24.3
v0.24.4
v0.25.0
v0.25.1
v0.25.2
v0.25.3
v0.25.4
v0.26.0
v0.27.0
v0.27.1
v0.28.0
v0.28.1
v0.29.0
v0.29.1
v0.29.2
v0.3.0
v0.3.1
v0.30.0
v0.30.1
v0.30.2
v0.30.3
v0.30.4
v0.31.0
v0.31.1
v0.31.2
v0.31.3
v0.32.0
v0.32.1
v0.33.0
v0.34.0
v0.35.0
v0.36.0
v0.36.1
v0.37.0
v0.37.1
v0.37.2
v0.37.3
v0.38.0
v0.38.1
v0.38.2
v0.38.3
v0.39.0
v0.39.1
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.4.4
v0.40.0
v0.41.0
v0.42.0
v0.42.1
v0.43.0
v0.43.1
v0.44.0
v0.44.1
v0.45.0
v0.45.1
v0.46.0
v0.47.0
v0.48.0
v0.48.1
v0.48.2
v0.49.0
v0.49.1
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.50.0
v0.50.1
v0.51.0
v0.51.1
v0.6.0
v0.7.0
v0.8.0
v0.9.0
v0.9.1
v0.9.2