freewvs's nested directory structure can interrupt scan
Description
Published by the National Vulnerability Database
Jul 14, 2020
Published to the GitHub Advisory Database
Aug 30, 2024
Reviewed
Aug 30, 2024
Last updated
Aug 30, 2024
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:
schokokeksorg/freewvs@83a6b55
This issue was discovered by Hanno Böck.
References