{"id":"GHSA-hg3w-7hj9-m3f7","summary":"Regular expression denial of service in url_regex","details":"All versions of package url-regex are vulnerable to Regular Expression Denial of Service (ReDoS) which can cause the CPU usage to crash.","aliases":["CVE-2022-21195"],"modified":"2026-03-13T21:56:30.037527Z","published":"2022-05-21T00:00:25Z","database_specific":{"github_reviewed_at":"2022-05-25T20:35:04Z","nvd_published_at":"2022-05-20T20:15:00Z","cwe_ids":["CWE-1333"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21195"},{"type":"PACKAGE","url":"https://github.com/AlexFlipnote/url_regex"},{"type":"WEB","url":"https://github.com/AlexFlipnote/url_regex/blob/master/url_regex/url_regex.py"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-PYTHON-URLREGEX-2347643"}],"affected":[{"package":{"name":"url-regex","ecosystem":"PyPI","purl":"pkg:pypi/url-regex"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-hg3w-7hj9-m3f7/GHSA-hg3w-7hj9-m3f7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}