GitHub Advisoryadvisory · PyPI
GHSA-7pmh-vrww-25xx freewvs's nested directory structure can interrupt scan
LOW
Official page ↗
- Aliases
- CVE-2020-15101
- Ecosystem
- PyPI
- Packages
- freewvs
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-674
- Reviewed
- 2024-08-30
Affected packages
• PyPI freewvs: < 0.1.1 → fixed in 0.1.1
Description
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.
Related
Alias · CVE (1)
- CVE-2020-15101 In freewvs before 0.1.1, a directory structure of more than 1000 nested directories can interrupt a freewvs scan due to Python's recursion… vulnerability
Weakness · CWE (1)
- CWE-674 Uncontrolled Recursion weakness
References
- https://github.com/schokokeksorg/freewvs/security/advisories/GHSA-7pmh-vrww-25xx web
- https://nvd.nist.gov/vuln/detail/CVE-2020-15101 advisory
- https://github.com/schokokeksorg/freewvs/commit/83a6b55c0435c69f447488b791555e6078803143 web
- https://github.com/pypa/advisory-database/tree/main/vulns/freewvs/PYSEC-2020-233.yaml web
- https://github.com/schokokeksorg/freewvs package