CVE-2022-21195Url-regex Project Url-regex
High 7.5 No auth needed
Follow: this CVE · Url-regex Project · Url-regex Project Url-regex 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
- May 20, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
All versions of package url-regex are vulnerable to Regular Expression Denial of Service (ReDoS) which can cause the CPU usage to crash.
What to do
- Apply the vendor's security update for Url-regex.
- 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 | url-regex |
≤ 1.0.4 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-hg3w-7hj9-m3f7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| url-regex_project | url-regex | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- snyk.io Exploit Third Party Advisory