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.
Advisories
Source ID Title
EUVD EUVD EUVD-2025-18630 OSV-SCALIBR's Container Image Unpacking Vulnerable to Arbitrary File Write via Path Traversal
Github GHSA Github GHSA GHSA-2hcm-q3f4-fjgw OSV-SCALIBR's Container Image Unpacking Vulnerable to Arbitrary File Write via Path Traversal
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 07 Aug 2025 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Google
Google osv-scalibr
Weaknesses CWE-22
CPEs cpe:2.3:a:google:osv-scalibr:*:*:*:*:*:go:*:*
Vendors & Products Google
Google osv-scalibr
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}


Wed, 18 Jun 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 18 Jun 2025 08:45:00 +0000

Type Values Removed Values Added
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.
Title Arbitrary File write in OSV-SCALIBR
Weaknesses CWE-427
References
Metrics cvssV4_0

{'score': 5.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Google

Published:

Updated: 2025-06-18T13:42:49.567Z

Reserved: 2025-06-10T12:31:04.353Z

Link: CVE-2025-5981

cve-icon Vulnrichment

Updated: 2025-06-18T13:42:43.144Z

cve-icon NVD

Status : Analyzed

Published: 2025-06-18T09:15:47.660

Modified: 2025-08-07T15:34:04.500

Link: CVE-2025-5981

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.