{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-3795","id":"CVE-2021-3795","title":"Inefficient Regular Expression Complexity in sindresorhus/semver-regex","description":"semver-regex is vulnerable to Inefficient Regular Expression Complexity","descriptionLong":"semver-regex is vulnerable to Inefficient Regular Expression Complexity","published":"2021-09-15T16:23:49.000Z","updated":"2026-10-20T10:54:51.144486685Z","reserved":"2021-09-11T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"@huntrdev","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"@huntrdev"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"huntr.dev"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["sindresorhus/semver-regex"],"affectedProducts":[{"vendor":"sindresorhus","product":"sindresorhus/semver-regex","defaultStatus":null,"versions":[{"lessThan":"4.0.1","status":"affected","version":"unspecified","versionType":"custom"},{"lessThan":"3.1.3","status":"affected","version":"unspecified","versionType":"custom"},{"status":"unaffected","version":"3.1.3"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"semver-regex","purl":"pkg:npm/semver-regex","ranges":["<3.1.3",">=4.0.0 <4.0.1"],"fixed":["3.1.3","4.0.1"],"advisory":"GHSA-44c6-4v22-4mhx"}],"cwes":["CWE-1333","CWE-400"],"aliases":["GHSA-44c6-4v22-4mhx"],"references":[{"url":"https://huntr.dev/bounties/006624e3-35ac-448f-aab9-7b5183f30e28","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/sindresorhus/semver-regex/commit/11c66245f4e1976dccc52977ed183696a21a3fd7","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3795","tags":["advisory"]},{"url":"https://github.com/sindresorhus/semver-regex","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01517,"epssPercentile":0.75094,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-3795","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3795","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-3795","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-44c6-4v22-4mhx","ok":true,"note":"GHSA-44c6-4v22-4mhx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-3795","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}