Advisory

GHSA-f786-75f3-74xj

Also known as: CVE-2025-13425, GO-2025-4149

Summary

OSV-SCALIBR has NULL Pointer Dereference

Details

A bug in the filesystem traversal fallback path causes fs/diriterate/diriterate.go:Next() to overindex an empty slice when ReadDir returns nil for an empty directory, resulting in a panic (index out of range) and an application crash (denial of service) in OSV-SCALIBR.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-11-20 18:31 UTC
Modified
2025-11-27 08:53 UTC

Affected packages and fixes

github.com/google/osv-scalibr

Go · All systems

Affected

  • introduced 0, fixed 0.3.4 (semver)

Fixed versions

0.3.4

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