CVE-2024-35192CWE-522

Trivy possibly leaks registry credential when scanning images from malicious registries

Medium · published May 20, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
8.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00190 · 8.2th percentile
Weakness
CWE-522 · Insufficiently Protected Credentials
Published
2024-05-20T20:36Z
EPSS history
Timeline
  • 20 MAY 20:36Z
    Trivy possibly leaks registry credential when scanning images from malicious registries
    cvelistv5