CVE-2020-29651 json
py vulnerable to Regular Expression Denial of Service
published 5y ago modified 4mo ago also GHSA-hj5v-574p-mj7c , PYSEC-2020-92 , EUVD-2020-0152
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.5%
- EPSS 4.5% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
A denial of service via regular expression in the py.path.svnwc component of py (aka python-py) through 1.9.0 could be used by attackers to cause a compute-time denial of service attack by supplying malicious input to the blame functionality.
Patch / fix
- pypi py 1.10.0
- python-py Debian 13, Debian 12 1.10.0-1
debian advisories DEBIAN-CVE-2020-29651
- python-py Ubuntu 18.04 LTS 1.5.2-1ubuntu0.1
- python-py Ubuntu 20.04 LTS 1.8.1-1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2020-29651
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-py SLE Module for Python 2 15 SP3, SLE Module for Basesystem 15 SP4, SLE Module for Basesystem 15 SP3 +4 more 1.10.0-150000.5.9.2
- python-apipkg SLE Module for Python 2 15 SP3, SLE Module for Basesystem 15 SP4, SLE Module for Basesystem 15 SP3 +2 more 1.4-150000.3.2.1
- python-coverage SLE Module for Package Hub 15 SP4, SLE Module for Package Hub 15 SP3, SLE Module for Development Tools 15 SP4 +3 more 4.5.4-150000.3.3.2
- python-pyflakes openSUSE Leap 15.4, openSUSE Leap 15.3 2.1.1-150000.3.2.2
- python-iniconfig SLE Module for Python 2 15 SP3, SLE Module for Basesystem 15 SP4, SLE Module for Basesystem 15 SP3 1.1.1-150000.1.3.1
- python-pycodestyle openSUSE Leap 15.4, openSUSE Leap 15.3 2.5.0-150000.3.2.2
- python-atomicwrites SLE Module for Public Cloud 15 SP4, SLE Module for Public Cloud 15 SP3, SLE Module for Public Cloud 15 SP2 +5 more 1.1.5-150000.3.2.1
- kibana OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 4.6.6-3.9.2
suse advisories SUSE-SU-2022:2831-1SUSE-SU-2021:2554-1SUSE-SU-2021:2236-1SUSE-SU-2021:1963-1SUSE-SU-2021:1962-1SUSE-SU-2021:1859-1
- python-py openSUSE Tumbleweed 1.11.0-9.5
- python-py openSUSE Tumbleweed 1.11.0-6.5
- oci-cli openSUSE Tumbleweed 3.0.2-1.2
- python-py openSUSE Leap 15.3 1.8.1-5.6.1
- python-py openSUSE Leap 15.2 1.8.1-lp152.2.6.1
- python-py-test openSUSE Leap 15.2 1.8.1-lp152.2.6.1
opensuse advisories openSUSE-SU-2026:12027-1openSUSE-SU-2024:14153-1openSUSE-SU-2024:11108-1openSUSE-SU-2021:1859-1openSUSE-SU-2021:0851-1
- python-py Arch Linux 1.10.0-1
arch linux advisories AVG-1338
- github.com/pytest-dev/py#257 commit
- github.com/pytest-dev/py#257 pull request
Is CVE-2020-29651 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-29651 updated cvss 4.3
python-py: ReDoS in the py.path.svnwc component via mailicious input to blame functionality
-
Red Hat Enterprise Linux 7 python-pyaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 python-py, python2-py, python38-py, python39-py Red Hat OpenShift Container Platform 3.11 python-pyaffected: no fix available “Fix deferred”
-
Red Hat OpenStack Platform 10 (Newton) python-pyaffected: no fix planned “Out of support scope”
-
Red Hat OpenStack Platform 13 (Queens) python-pyaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 9 python3-pynot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.54% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | py | <1.10.0 |
1.10.0 |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/pytest-dev/py/pull/257
web, third-party-advisory
-
github.com
/pytest-dev/py/pull/257/commits/4a9017dc6199d2a564b6e4b0aa39d6d8870e4144
web, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/AYWNYEV3FGDHPIHX4DDUDMFZ6NLCQRC4/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/CHDTINIBJZ67T3W74QTBIY5LPKAXEOGR/
vendor-advisory
-
github.com
/pytest-dev/py/issues/256
web, third-party-advisory, report
-
oracle.com
/security-alerts/cpujul2022.html
web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2024/11/msg00024.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2020-29651
advisory
-
github.com
/advisories/GHSA-hj5v-574p-mj7c
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/py/PYSEC-2020-92.yaml
web
-
github.com
/pytest-dev/py
package
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/AYWNYEV3FGDHPIHX4DDUDMFZ6NLCQRC4
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/CHDTINIBJZ67T3W74QTBIY5LPKAXEOGR
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/AYWNYEV3FGDHPIHX4DDUDMFZ6NLCQRC4
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/CHDTINIBJZ67T3W74QTBIY5LPKAXEOGR
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/AYWNYEV3FGDHPIHX4DDUDMFZ6NLCQRC4/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/CHDTINIBJZ67T3W74QTBIY5LPKAXEOGR/
web
Sources
- CVE List CVE-2020-29651
- GitHub Advisory GHSA-hj5v-574p-mj7c
- NVD CVE-2020-29651
- OSV PYSEC-2020-92
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.