GHSA-7pmh-vrww-25xx

Suggest an improvement
Source
https://github.com/advisories/GHSA-7pmh-vrww-25xx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-7pmh-vrww-25xx/GHSA-7pmh-vrww-25xx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7pmh-vrww-25xx
Aliases
Published
2024-08-30T18:43:23Z
Modified
2024-08-30T18:46:05.226990Z
Severity
  • 2.8 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L CVSS Calculator
  • 2.4 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
freewvs's nested directory structure can interrupt scan
Details

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.

Database specific
{
    "nvd_published_at": "2020-07-14T22:15:00Z",
    "cwe_ids": [
        "CWE-674"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2024-08-30T18:43:23Z"
}
References

Affected packages

PyPI / freewvs

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.1.1

Affected versions

0.*

0.1.0