CVE-2025-5981

Source
https://cve.org/CVERecord?id=CVE-2025-5981
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5981.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-5981
Aliases
Downstream
Related
Published
2025-06-18T08:28:02Z
Modified
2026-10-22T10:32:08Z
Severity
  • 5.7 (Medium) 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 CVSS Calculator
Summary
Arbitrary File write in OSV-SCALIBR
Details

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.

Database specific
{
    "cna_assigner": "Google",
    "cwe_ids": [
        "CWE-427"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5981.json"
}
References

Affected packages

Git / github.com/google/osv-scalibr

Affected ranges

Type
GIT
Repo
https://github.com/google/osv-scalibr
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:google:osv-scalibr:*:*:*:*:*:go:*:*",
            "range": [
                {
                    "introduced": "0.1.3"
                },
                {
                    "fixed": "0.1.8"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "range": [
                {
                    "fixed": "2444419b1818c2d6917fc3394c947fb3276e9d59"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "v0.1.8",
            "range": [
                {
                    "fixed": "efb5afd2f15bd155d27c8aa8717dd5ce25e0b28c"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

v0.*
v0.1.3
v0.1.4
v0.1.5
v0.1.6
v0.1.7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5981.json"