Upstream information

CVE-2024-35192 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
  SUSE
Base Score 5.5
Vector CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
Attack Vector Local
Attack Complexity High
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Impact High
Integrity Impact None
Availability Impact None
CVSSv3 Version 3.1
CVSS v4 Scores
  SUSE
Base Score 5.6
Vector CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Attack Vector Local
Attack Complexity High
Attack Requirements Present
Privileges Required None
User Interaction Active
Vulnerable System Confidentiality Impact High
Vulnerable System Integrity Impact None
Vulnerable System Availability Impact None
Subsequent System Confidentiality Impact None
Subsequent System Integrity Impact None
Subsequent System Availability Impact None
CVSSv4 Version 4.0
SUSE Bugzilla entry: 1224781 [REOPENED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Package Hub 15 SP5
  • trivy >= 0.54.1-bp155.2.3.1
Patchnames:
openSUSE-2024-268
SUSE Package Hub 15 SP6
  • trivy >= 0.54.1-bp156.2.3.1
Patchnames:
openSUSE-2024-269
openSUSE Leap 15.5
  • trivy >= 0.54.1-bp155.2.3.1
Patchnames:
openSUSE-2024-268
openSUSE Leap 15.6
  • trivy >= 0.54.1-bp156.2.3.1
Patchnames:
openSUSE-2024-269
openSUSE Tumbleweed
  • trivy >= 0.52.0-1.1
Patchnames:
openSUSE-Tumbleweed-2024-14030


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Package Hub 15 SP6 trivy Released
Products past their end of life and not receiving proactive updates anymore.
SUSE Package Hub 15 SP5 trivy Released
Container Status
private-registry/harbor-trivy-adapter trivyAlready fixed


SUSE Timeline for this CVE

CVE page created: Tue May 21 00:00:06 2024
CVE page last modified: Tue Aug 12 22:14:26 2025