CVE-2022-21195
5.3medium
Regular Expression Denial of Service (ReDoS)
- Severity
- 5.3medium CVSS:3.1 by snyk
- Exploit likelihood
- 1.36% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-hg3w-7hj9-m3f7
Description
All versions of package url-regex are vulnerable to Regular Expression Denial of Service (ReDoS) which can cause the CPU usage to crash.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| url-regex | before unspecified | CVE List |
| url-regex (PyPI) | up to 1.0.4 | GitHub Advisory Database |
| url-regex_project url-regex | Not specified | NVD |
All scores
| snyk | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
All versions of package url-regex are vulnerable to Regular Expression Denial of Service (ReDoS) which can cause the CPU usage to crash.
NVD (es)
Todas las versiones del paquete url-regex son vulnerables a una Denegación de Servicio por Expresión Regular (ReDoS) que puede causar el bloqueo del uso de la CPU
References
| https://snyk.io/vuln/SNYK-PYTHON-URLREGEX-2347643 | exploit, third-party-advisory, web | |
| https://github.com/AlexFlipnote/url_regex/blob/master/url_regex/url_regex.py | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-21195 | advisory | |
| https://github.com/AlexFlipnote/url_regex | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-21195 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hg3w-7hj9-m3f7 changed 2026-03-13 | CC-BY-4.0 |
| NVD | CVE-2022-21195 changed 2026-06-17 | Public domain |