ADVISORIES

GitHub Advisory Database

GHSA-7pmh-vrww-25xx

freewvs's nested directory structure can interrupt scan

Details

Impact

A directory structure of more than 1000 nested directories can interrupt a freewvs scan due to Python's recursion limit and os.walk(). This can be problematic in a case where an administrator scans the dirs of potentially untrusted users.

Patches

This has been fixed in this commit by limiting the recursion to 500 directories: https://github.com/schokokeksorg/freewvs/commit/83a6b55c0435c69f447488b791555e6078803143

This issue was discovered by Hanno Böck.

Affected packages

EcosystemPackageAffected versions
PyPIfreewvs
All versions before 0.1.1 (fixed in 0.1.1)

References