{"schemaVersion":3,"id":"CVE-2024-35192","aliases":["CGA-3q42-m25r-3vqc","CGA-6mmm-8xw9-63m7","CGA-8xh6-jph4-fjq3","CGA-93m7-vq9f-hf8c","CGA-gjxv-jwjv-xx6h","CGA-ph49-w9wm-5f9v","GHSA-xcq4-m2r3-cmrj","GO-2024-2870","openSUSE-SU-2024:14030-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-05-20T20:36:56.695Z","modified":"2024-08-02T03:07:47.025Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":2.6,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":2.6,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":2.6,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0019,"percentile":0.08229,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.0019},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0019,"percentile":0.08229}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0019,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0019,"percentile":0.08229}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-522","name":"Insufficiently Protected Credentials","description":"The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/522.html"}],"affected":[{"vendor":"chainguard","product":"k8sgpt","name":"k8sgpt","label":"k8sgpt","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/k8sgpt","purlType":"apk","versions":[{"text":"< 0.3.32-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3.32-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kubescape","name":"kubescape","label":"kubescape","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kubescape","purlType":"apk","versions":[{"text":"< 3.0.12-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.12-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"zot","name":"zot","label":"zot","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/zot","purlType":"apk","versions":[{"text":"< 2.0.4-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.4-r4","eol":null,"hubHref":null},{"vendor":"wolfi","product":"k8sgpt","name":"k8sgpt","label":"k8sgpt","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/k8sgpt","purlType":"apk","versions":[{"text":"< 0.3.32-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3.32-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"kubescape","name":"kubescape","label":"kubescape","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/kubescape","purlType":"apk","versions":[{"text":"< 3.0.12-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.12-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"zot","name":"zot","label":"zot","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/zot","purlType":"apk","versions":[{"text":"< 2.0.4-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.4-r4","eol":null,"hubHref":null},{"vendor":"aquasecurity","product":"trivy","name":"Trivy","label":"trivy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.51.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.51.2","eol":null,"hubHref":"/vendor/aquasecurity/trivy"},{"vendor":"github.com/aquasecurity","product":"trivy","name":"github.com/aquasecurity/trivy","label":"trivy","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/aquasecurity/trivy","purlType":"golang","versions":[{"text":"< 0.51.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.51.2","eol":null,"hubHref":null},{"vendor":"opensuse","product":"trivy&distro=openSUSE Tumbleweed","name":"trivy","label":"trivy&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/trivy&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 0.52.0-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.52.0-1.1","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/aquasecurity/trivy/security/advisories/GHSA-xcq4-m2r3-cmrj","label":"github.com/aquasecurity/trivy/security/advisories/GHSA-xcq4-m2r3-cmrj","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB"]},{"url":"https://github.com/aquasecurity/trivy/commit/e7f14f729de259551203f313e57d2d9d3aa2ff87","label":"github.com/aquasecurity/trivy/commit/e7f14f729de259551203f313e57d2d9d3aa2ff87","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35192.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35192.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35192","label":"nvd.nist.gov/vuln/detail/CVE-2024-35192","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/aquasecurity/trivy","label":"github.com/aquasecurity/trivy","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://www.suse.com/security/cve/CVE-2024-35192","label":"www.suse.com/security/cve/CVE-2024-35192","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:0268-1","OPENSUSE-SU-2024:0269-1"],"duplicates":[],"related":["CGA-6QW8-J782-QW9M","CGA-8CXC-C6V2-W87X","CGA-G4XV-7RVW-7VPJ","CGA-H9GC-49R4-QCGJ","OPENSUSE-SU-2024:0268-1","OPENSUSE-SU-2024:0269-1"]},"timeline":[{"kind":"published","date":"2024-05-20T20:36:56.695Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T03:07:47.025Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T14:58:20.509Z","stale":false,"partial":false}}