CVE-2020-29651: py vulnerable to Regular Expression Denial of Service
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.73893%
CWE
Published
4/20/2021
Updated
10/21/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
py | pip | < 1.10.0 | 1.10.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability was explicitly traced to a regex pattern in py.path.svnwc component through GitHub issues (#256) and the fix in commit 4a9017d. The regex '\s*(\d+)\s*(\S+) (.)' was modified to '\s(\d+)\s+(\S+) (.*)' to prevent ambiguous matching. This regex is directly tied to the blame functionality's output parsing logic in svnwc.py, making it the clear vulnerable element.