{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-5981","assignerOrgId":"14ed7db2-1595-443d-9d34-6215bf890778","state":"PUBLISHED","assignerShortName":"Google","dateReserved":"2025-06-10T12:31:04.353Z","datePublished":"2025-06-18T08:28:02.899Z","dateUpdated":"2025-06-18T13:42:49.567Z"},"containers":{"cna":{"affected":[{"collectionURL":"https://github.com/google/osv-scalibr","defaultStatus":"unaffected","packageName":"osv-scalibr","product":"osv-scalibr","programFiles":["artifact/image/layerscanning/image/image.go"],"vendor":"Google","versions":[{"lessThan":"0.1.8","status":"affected","version":"0.1.3","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Anthony Weems of Google's Cloud Vulnerability Research team"},{"lang":"en","type":"finder","value":"Simon Scannell of Google's Cloud Vulnerability Research team"},{"lang":"en","type":"finder","value":"Stefan Schiller of Google's Cloud Vulnerability Research team"}],"datePublic":"2025-04-24T22:00:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<span style=\"background-color: rgb(255, 255, 255);\">Arbitrary file write as the OSV-SCALIBR user on the host system via a path traversal vulnerability when using OSV-SCALIBR's </span><code>unpack()</code><span style=\"background-color: rgb(255, 255, 255);\">&nbsp;function for container images. Particularly, when using the CLI flag </span><code>--remote-image</code><span style=\"background-color: rgb(255, 255, 255);\">&nbsp;on untrusted container images.</span><br>"}],"value":"Arbitrary file write as the OSV-SCALIBR user on the host system via a path traversal vulnerability when using OSV-SCALIBR's unpack() function for container images. Particularly, when using the CLI flag --remote-image on untrusted container images."}],"impacts":[{"capecId":"CAPEC-126","descriptions":[{"lang":"en","value":"CAPEC-126 Path Traversal"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":5.7,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"LOW","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-427","description":"CWE-427 Uncontrolled Search Path Element","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"14ed7db2-1595-443d-9d34-6215bf890778","shortName":"Google","dateUpdated":"2025-06-18T08:28:02.899Z"},"references":[{"url":"https://github.com/google/osv-scalibr/releases/tag/v0.1.8"},{"url":"https://github.com/google/osv-scalibr/commit/2444419b1818c2d6917fc3394c947fb3276e9d59"}],"source":{"discovery":"UNKNOWN"},"title":"Arbitrary File write in OSV-SCALIBR","x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-18T13:42:36.658295Z","id":"CVE-2025-5981","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-06-18T13:42:49.567Z"}}]}}