CVE-2024-35192

published 20 May 2024 · updated 2 Aug 2024

Trivy possibly leaks registry credential when scanning images from malicious registries

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
AquasecurityTrivy<0.51.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Trivy, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-35192 severity on Zeptric[![CVE-2024-35192](https://zeptric.io/badge/cve/CVE-2024-35192.svg)](https://zeptric.io/cve/CVE-2024-35192)