5.7medium
Arbitrary File write in OSV-SCALIBR
- Severity
- 5.7medium CVSS:4.0 by Google
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Also known as
- GHSA-2hcm-q3f4-fjgwGO-2025-3767
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
| Product or package | Versions | Reported by |
|---|---|---|
| osv-scalibr | from 0.1.3 before 0.1.8 | CVE List |
| github.com/google/osv-scalibr (Go) | from 0.1.3 before 0.2.1 | GitHub Advisory Database, Go Vulnerability Database |
| google osv-scalibr | from 0.1.3 before 0.1.8 | NVD |
All scores
| 5.7medium CVSS:4.0 | 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 | |
| GitHub | medium CVSS:4.0 | 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 |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Classification
What each source says
CVE List
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.
Go Vulnerability Database
OSV-SCALIBR's Container Image Unpacking Vulnerable to Arbitrary File Write via Path Traversal in github.com/google/osv-scalibr
NVD (es)
Escritura arbitraria de archivos como usuario OSV-SCALIBR en el sistema host mediante una vulnerabilidad de path traversal al usar la función unpack() de OSV-SCALIBR para imágenes de contenedor. En particular, al usar la opción CLI --remote-image en imágenes de contenedor no confiables.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-5981 changed 2025-06-18 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2hcm-q3f4-fjgw changed 2025-08-07 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3767 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2025-5981 changed 2026-06-17 | Public domain |