5.5

CVE-2024-35192: Trivy possibly leaks registry credential when scanning images from malicious registries

Deferred
AliasesCGA-3q42-m25r-3vqcCGA-6mmm-8xw9-63m7CGA-8xh6-jph4-fjq3
Published 20-05-2024Last modified 02-08-2024

Vulnerability summary

CVE-2024-35192 is a medium (CVSS 5.5) Insufficiently Protected Credentials vulnerability in aquasecurity trivy. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.19%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 6

Timeline

  1. 20-05-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.19%

Chance of exploitation in the next 30 days

Percentile

9%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.19% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard3 products
  • k8sgpt< 0.3.32-r1
  • kubescape< 3.0.12-r0
  • zot< 2.0.4-r4
Wolfi3 products
  • k8sgpt< 0.3.32-r1
  • kubescape< 3.0.12-r0
  • zot< 2.0.4-r4
Aquasecurity1 product
Github.com/aquasecurity1 product
  • trivy< 0.51.2
Opensuse1 product
  • trivy&distro=openSUSE Tumbleweed< 0.52.0-1.1

5 vendors · 9 products

References

6 links