{"id":"GHSA-44c6-4v22-4mhx","summary":"semver-regex Regular Expression Denial of Service (ReDOS)","details":"npm `semver-regex` is vulnerable to Inefficient Regular Expression Complexity","aliases":["CVE-2021-3795"],"modified":"2026-07-17T21:04:25.044410686Z","published":"2021-09-20T20:42:25Z","database_specific":{"github_reviewed_at":"2021-09-16T17:31:51Z","nvd_published_at":"2021-09-15T17:15:00Z","cwe_ids":["CWE-1333","CWE-400"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3795"},{"type":"WEB","url":"https://github.com/sindresorhus/semver-regex/commit/11c66245f4e1976dccc52977ed183696a21a3fd7"},{"type":"PACKAGE","url":"https://github.com/sindresorhus/semver-regex"},{"type":"WEB","url":"https://huntr.dev/bounties/006624e3-35ac-448f-aab9-7b5183f30e28"}],"affected":[{"package":{"name":"semver-regex","ecosystem":"npm","purl":"pkg:npm/semver-regex"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.1.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-44c6-4v22-4mhx/GHSA-44c6-4v22-4mhx.json"}},{"package":{"name":"semver-regex","ecosystem":"npm","purl":"pkg:npm/semver-regex"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.0.1"}]}],"versions":["4.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-44c6-4v22-4mhx/GHSA-44c6-4v22-4mhx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}