CVE-2020-15101 Nested directory structure can lead to Uncontrolled Resource Consumption in freewvs
An attacker can cause a denial of service in freewvs by providing deeply nested directories that exceed Python's recursion limit during scanning.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-15101?
CVE-2020-15101 is a low-severity denial of service vulnerability in schokokeksorg freewvs, published on 14 Jul 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2020-15101?
3 open source packages ship an affected version, including freewvs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
freewvs PyPI | All versions | 0.1.1 |
freewvs PyPI | All versions | 0.1.1 |
freewvs PyPI | All versions | 0.1.1 |
Products include Schokokeks Freewvs.
How do I fix CVE-2020-15101?
Upgrade freewvs to 0.1.1 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2020-15101 being exploited?
There is no known exploitation of CVE-2020-15101 in the wild and no public exploit code.
Other vulnerabilities in schokokeksorg freewvs
Sources
Also known as GHSA-7pmh-vrww-25xx, PYSEC-2020-233.