CVE-2022-39280Pyup Dependency Parser
High 7.5 No auth needed
Follow: this CVE · Pyup · Pyup Dependency Parser We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- Oct 6, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
dparse is a parser for Python dependency files. dparse in versions before 0.5.2 contain a regular expression that is vulnerable to a Regular Expression Denial of Service. All the users parsing index server URLs with dparse are impacted by this vulnerability. A patch has been applied in version `0.5.2`, all the users are advised to upgrade to `0.5.2` as soon as possible. Users unable to upgrade should avoid passing index server URLs in the source file to be parsed.
What to do
- Apply the vendor's security update for Dependency Parser.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | dparse |
< 0.5.2 |
0.5.2 |
pip install "dparse>=0.5.2" |
| PyPI | dparse |
< 0.5.2 |
0.5.2 |
pip install "dparse>=0.5.2" |
Per OSV / GitHub Advisories (GHSA-8fg9-p83m-x5pq, PYSEC-2022-301). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pyup | dependency_parser | < 0.5.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- owasp.org Technical Description Third Party Advisory