Advisory

GHSA-2hcm-q3f4-fjgw

Also known as: CVE-2025-5981, GO-2025-3767

Summary

OSV-SCALIBR's Container Image Unpacking Vulnerable to Arbitrary File Write via Path Traversal

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-06-18 09:30 UTC
Modified
2025-08-07 18:21 UTC

Affected packages and fixes

github.com/google/osv-scalibr

Go · All systems

Affected

  • introduced 0.1.3, fixed 0.2.1 (semver)

Fixed versions

0.2.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences