# CVE-2022-42969: The py library through 1.11.0 for Python allows remote attackers to conduct a ReDoS (Regular expression Denial of Service) attack via a Sub…

- Severity: Medium 5.3 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:N/A:L/C:N/I:N/PR:N/S:U/UI:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.10%, higher than 82% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-10-16T00:00:00.000Z
- Modified: 2026-09-10T03:49:46.736Z
- Also known as: GHSA-w596-4wvx-j9j6, PYSEC-2022-42969, PYSEC-2022-43183
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

The py library through 1.11.0 for Python allows remote attackers to conduct a ReDoS (Regular expression Denial of Service) attack via a Subversion repository with crafted info data, because the InfoSvnCommand argument is mishandled. Note: This has been disputed by multiple third parties as not being reproduceable and they argue this is not a valid vulnerability.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- py (PyPI): up to 1.11.0
- pytest py: up to 1.11.0

## Every score

- mitre: CVSS:3.1 5.3 Medium `CVSS:3.1/AC:L/AV:N/A:L/C:N/I:N/PR:N/S:U/UI:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/pytest-dev/py/issues/287> (exploit, issue-tracking, report, third-party-advisory, web)
- <https://pypi.org/project/py> (package, product, web)
- <https://github.com/pytest-dev/py/blob/cb87a83960523a2367d0f19226a73aed4ce4291d/py/_path/svnurl.py#L316> (product, web)
- <https://news.ycombinator.com/item?id=34163710> (issue-tracking, report, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-42969> (advisory, web)
- <https://github.com/pytest-dev/py/issues/288> (report, web)
- <https://github.com/pytest-dev/pytest/issues/10392> (report, web)
- <https://github.com/advisories/GHSA-w596-4wvx-j9j6> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/py/PYSEC-2022-42969.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/py/PYSEC-2022-43183.yaml> (web)
- <https://github.com/pytest-dev/py> (package)

## Sources

- CVE List: [CVE-2022-42969](https://www.cve.org/CVERecord?id=CVE-2022-42969), CVE Terms of Use, modified 2025-05-14
- GitHub Advisory Database: [GHSA-w596-4wvx-j9j6](https://github.com/advisories/GHSA-w596-4wvx-j9j6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-42969](https://nvd.nist.gov/vuln/detail/CVE-2022-42969), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-42969](https://osv.dev/vulnerability/PYSEC-2022-42969), CC-BY-4.0, modified 2026-06-09
- PyPA Advisory Database: [PYSEC-2022-43183](https://osv.dev/vulnerability/PYSEC-2022-43183), CC-BY-4.0, modified 2026-06-09

---

Page: https://cve.day/CVE-2022-42969 · Whole record: https://cve.day/CVE-2022-42969.json · Rebuilt by cve.day 2026-11-25T22:58:15.742Z
