Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. url-regex
  4. ›
  5. CVE-2022-21195

CVE-2022-21195: Regular Expression Denial of Service

May 20, 2022 (updated August 8, 2023)

All versions of package url-regex is vulnerable to Regular Expression Denial of Service (ReDoS) which can cause the CPU usage to crash.

References

  • github.com/AlexFlipnote/url_regex/blob/master/url_regex/url_regex.py
  • nvd.nist.gov/vuln/detail/CVE-2022-21195
  • snyk.io/vuln/SNYK-PYTHON-URLREGEX-2347643

Code Behaviors & Features

Detect and mitigate CVE-2022-21195 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/url-regex/CVE-2022-21195.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:16 +0000.