Skip to content
OpenAdvisories
Medium · 5.7 CVE-2025-5981 EUVD-2025-18630GHSA-2hcm-q3f4-fjgwGO-2025-3767

Arbitrary File write in OSV-SCALIBR

Published Jun 18, 2025 · Updated Jun 18, 2025 · Assigned by Google

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 products

VendorProductAffectedFixed
Google osv-scalibr 0.1.3 – < 0.1.8 0.1.8

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250730T213748-1.1 openSUSE-SU-2025:15405-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/google/osv-scalibr >= 0.1.3, < 0.2.1 0.2.1 GHSA-2hcm-q3f4-fjgw

Advisories 1

References