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-08-12T03:30:35Z
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
{
    "cpe":  "cpe:2.3:a:google:osv-scalibr:*:*:*:*:*:go:*:*",
    "extracted_events":  [
        {
            "introduced":  "0.1.3"
        },
        {
            "fixed":  "0.1.8"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

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

Database specific

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