Insufficiently protected credentials in trivy - CVE-2024-35192
Published: May 20, 2024 / Updated: April 28, 2026
trivy
Aqua Security
Description
The vulnerability allows a remote attacker to disclose sensitive credentials.
The vulnerability exists due to insufficiently protected credentials in the registry scanning functionality when scanning container images from a crafted malicious registry. A remote attacker can trigger Trivy to scan a malicious registry image to disclose sensitive credentials.
This only applies when scanning container images directly from a registry, and user interaction is required to initiate the scan.