CVE-2020-15101: freewvs's nested directory structure can interrupt scan
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.
Published Aug 30, 2024
Affected packages
freewvs
- Ecosystem
- PyPI
- Affected
- >= 0, < 0.1.1
- Fixed in
- 0.1.1
- Check
pip show freewvs
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://github.com/schokokeksorg/freewvs/security/advisories/GHSA-7pmh-vrww-25xx
- https://nvd.nist.gov/vuln/detail/CVE-2020-15101
- https://github.com/schokokeksorg/freewvs/commit/83a6b55c0435c69f447488b791555e6078803143
- https://github.com/pypa/advisory-database/tree/main/vulns/freewvs/PYSEC-2020-233.yaml
- https://github.com/advisories/GHSA-7pmh-vrww-25xx
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
