google/osv-scalibr · Security

OSV-SCALIBR has NULL Pointer Dereference

GHSA ID
GHSA-f786-75f3-74xj
CVE ID
CVE-2025-13425
Severity
low
Published
Updated
CVSS v4
1.9 · CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:P

Description

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.

CWEs

References