GHSA-2hcm-q3f4-fjgw
OSV-SCALIBR's Container Image Unpacking Vulnerable to Arbitrary File Write via Path Traversal
At a glance
- Published
- Updated
- CVE
- CVE-2025-5981
- Aliases
- GO-2025-3767
- CVSS_V4
- 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
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.
Affected packages
| Package | Versions |
|---|---|
| Go · github.com/google/osv-scalibr | introduced 0.1.3, fixed 0.2.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-5981 ADVISORY
- https://github.com/google/osv-scalibr/commit/2444419b1818c2d6917fc3394c947fb3276e9d59 WEB
- https://github.com/google/osv-scalibr PACKAGE
- https://github.com/google/osv-scalibr/releases/tag/v0.1.8 WEB
- https://pkg.go.dev/vuln/GO-2025-3767 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |