CVE-2020-15101: Freewvs Freewvs's Nested Directory Structure Can Vulnerability
LOWCVE-2020-15101 is a LOW (CVSS 2.8) freewvs's nested directory structure can vulnerability (CWE-674: Uncontrolled Recursion) affecting Freewvs libraries in the PyPI ecosystem. The issue involves freewvs's nested directory structure can interrupt scan. Remediation is available by upgrading affected packages to version 0.1.1.
CVE-2020-15101 at a Glance
Security Impact
CVSS: 2.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L).
How to Fix CVE-2020-15101
To remediate this vulnerability, upgrade all affected Freewvs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install freewvs>=0.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show freewvs
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2020-15101, inspect your installed packages using pip:
pip show freewvs
Analyze the terminal output to locate any version of Freewvs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.1), your application is affected.
Note: The pip show freewvs command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-674: Uncontrolled Recursion, where the product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack. In Freewvs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-15101 Affected Freewvs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
freewvs
|
PyPI |
< 0.1.1
|
0.1.1
|
References
Frequently Asked Questions
What is CVE-2020-15101?
Which Freewvs versions are affected?
What version fixes CVE-2020-15101?
Is freewvs affected?
What is the CVSS score of CVE-2020-15101?
What CWE is associated with CVE-2020-15101?
How can I check PyPI dependencies for CVE-2020-15101?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7pmh-vrww-25xx",
"modified" : "2024-08-30T18:43:23Z",
"published" : "2024-08-30T18:43:23Z",
"aliases" : [ "CVE-2020-15101" ],
"summary" : "freewvs's nested directory structure can interrupt scan",
"details" : "### Impact\nA 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.\n\n### Patches\nThis has been fixed in this commit by limiting the recursion to 500 directories:\nhttps://github.com/schokokeksorg/freewvs/commit/83a6b55c0435c69f447488b791555e6078803143\n\nThis issue was discovered by Hanno Böck.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "freewvs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/schokokeksorg/freewvs/security/advisories/GHSA-7pmh-vrww-25xx"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15101"
}, {
"type" : "WEB",
"url" : "https://github.com/schokokeksorg/freewvs/commit/83a6b55c0435c69f447488b791555e6078803143"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/freewvs/PYSEC-2020-233.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/schokokeksorg/freewvs"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-674" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-30T18:43:23Z",
"nvd_published_at" : "2020-07-14T22:15:00Z"
}
}