2.8low
Nested directory structure can lead to Uncontrolled Resource Consumption in freewvs
- Severity
- 2.8low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.69% (higher than 48% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-7pmh-vrww-25xxPYSEC-2020-233
Description
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 limit and os.walk(). This can be problematic in a case where an administrator scans the dirs of potentially untrusted users. This has been patched in 0.1.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| schokokeksorg freewvs | < 0.1.1 | CVE List |
| freewvs (PyPI) | before 0.1.1, before 83a6b55c0435c69f447488b791555e6078803143 | GitHub Advisory Database, PyPA Advisory Database |
| schokokeks freewvs | before 0.1.1 | NVD |
All scores
| GitHub_M | 2.8low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L |
| GitHub | 2.8low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| NVD | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Classification
What each source says
CVE List
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 limit and os.walk(). This can be problematic in a case where an administrator scans the dirs of potentially untrusted users. This has been patched in 0.1.1.
GitHub Advisory Database
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.
NVD (es)
En freewvs versiones anteriores a 0.1.1, una estructura de directorios de más de 1000 directorios anidados puede interrumpir un escaneo de freewvs debido al límite de recursión de Python y os.walk(). Esto puede ser problemático en un caso en donde un administrador escanea los directorios de usuarios potencialmente no confiables. Esto ha sido parcheado en la versión 0.1.1
References
| https://github.com/schokokeksorg/freewvs/security/advisories/GHSA-7pmh-vrww-25xx | advisory, third-party-advisory, web | |
| https://github.com/schokokeksorg/freewvs/commit/83a6b55c0435c69f447488b791555e6078803143 | fix, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-15101 | advisory | |
| https://github.com/pypa/advisory-database/tree/main/vulns/freewvs/PYSEC-2020-233.yaml | web | |
| https://github.com/schokokeksorg/freewvs | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-15101 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7pmh-vrww-25xx changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2020-15101 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2020-233 changed 2023-11-08 | CC-BY-4.0 |