CVE-2020-15101
JSON

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 packageVersionsReported by
schokokeksorg freewvs< 0.1.1CVE List
freewvs (PyPI)before 0.1.1, before 83a6b55c0435c69f447488b791555e6078803143GitHub Advisory Database, PyPA Advisory Database
schokokeks freewvsbefore 0.1.1NVD

All scores

GitHub_M2.8low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
GitHub2.8low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
GitHublow CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
NVD3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
NVD4.0medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2020-15101 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-7pmh-vrww-25xx changed 2026-07-08CC-BY-4.0
NVDCVE-2020-15101 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2020-233 changed 2023-11-08CC-BY-4.0