Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Osv-Scalibr | >= 0.1.3, < 0.1.8 |
Related Weaknesses (CWE)
References
- https://github.com/google/osv-scalibr/commit/2444419b1818c2d6917fc3394c947fb3276Patch
- https://github.com/google/osv-scalibr/releases/tag/v0.1.8Release Notes
FAQ
What is CVE-2025-5981?
CVE-2025-5981 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 fla...
How severe is CVE-2025-5981?
CVE-2025-5981 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-5981?
Check the references section above for vendor advisories and patch information. Affected products include: Google Osv-Scalibr.