{"id":"CVE-2025-5981","state":"PUBLISHED","title":"Arbitrary File write in OSV-SCALIBR","description":"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.","publishedAt":"2025-06-18T08:28:02.899Z","updatedAt":"2025-06-18T13:42:49.567Z","severity":{"score":5.7,"label":"Medium","version":"4.0","vector":"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","source":"Google"},"assigner":"Google","products":["Google osv-scalibr"],"affected":[{"vendor":"Google","product":"osv-scalibr","packageName":"osv-scalibr","defaultStatus":"unaffected","versions":[{"version":"0.1.3","status":"affected","lessThan":"0.1.8","versionType":"semver"}],"collectionURL":"https://github.com/google/osv-scalibr","programFiles":["artifact/image/layerscanning/image/image.go"]}],"references":["https://github.com/google/osv-scalibr/releases/tag/v0.1.8","https://github.com/google/osv-scalibr/commit/2444419b1818c2d6917fc3394c947fb3276e9d59"],"weaknesses":["CWE-427"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/5xxx/CVE-2025-5981.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-5981","state":"PUBLISHED","datePublished":"2025-06-18T08:28:02.899Z","dateUpdated":"2025-06-18T13:42:49.567Z","assignerShortName":"Google","assignerOrgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateReserved":"2025-06-10T12:31:04.353Z"},"containers":{"cna":{"title":"Arbitrary File write in OSV-SCALIBR","descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"Google","product":"osv-scalibr","packageName":"osv-scalibr","defaultStatus":"unaffected","versions":[{"version":"0.1.3","status":"affected","lessThan":"0.1.8","versionType":"semver"}],"collectionURL":"https://github.com/google/osv-scalibr","programFiles":["artifact/image/layerscanning/image/image.go"]}],"references":[{"url":"https://github.com/google/osv-scalibr/releases/tag/v0.1.8"},{"url":"https://github.com/google/osv-scalibr/commit/2444419b1818c2d6917fc3394c947fb3276e9d59"}],"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":{"shortName":"Google","orgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateUpdated":"2025-06-18T08:28:02.899Z"},"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","impacts":[{"capecId":"CAPEC-126","descriptions":[{"lang":"en","value":"CAPEC-126 Path Traversal"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","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"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-18T13:42:49.567Z"}}]}}}