{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-25883","id":"CVE-2022-25883","title":"semver vulnerable to Regular Expression Denial of Service","description":"Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.\r\r\r","descriptionLong":"Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.\r\r\r","published":"2023-06-21T05:00:03.352Z","updated":"2026-10-28T02:31:05.157461937Z","reserved":"2022-02-24T11:58:25.192Z","status":"Analyzed","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","rating":"medium","source":"snyk"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","rating":"medium","source":"snyk"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"snyk.io"},{"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":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","rating":"medium","source":"OSV"},{"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":"GitHub"}],"rating":"medium","products":["semver"],"affectedProducts":[{"vendor":"n/a","product":"semver","defaultStatus":null,"versions":[{"version":"0","lessThan":"7.5.2","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"semver","purl":"pkg:npm/semver","ranges":[">=7.0.0 <7.5.2",">=6.0.0 <6.3.1",">=2.0.0-alpha <5.7.2"],"fixed":["7.5.2","6.3.1","5.7.2"],"advisory":"GHSA-c2qf-rxjj-qqgw"}],"cwes":["CWE-1333"],"aliases":["GHSA-c2qf-rxjj-qqgw"],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795","tags":["x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/npm/node-semver/blob/main/internal/re.js%23L160","tags":["x_transferred","Broken Link","web"]},{"url":"https://github.com/npm/node-semver/blob/main/internal/re.js%23L138","tags":["x_transferred","Broken Link","web"]},{"url":"https://github.com/npm/node-semver/blob/main/classes/range.js%23L97-L104","tags":["x_transferred","Broken Link","web"]},{"url":"https://github.com/npm/node-semver/pull/564","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://security.netapp.com/advisory/ntap-20241025-0004/","tags":["Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25883.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25883","tags":["advisory"]},{"url":"https://github.com/npm/node-semver/pull/585","tags":["web"]},{"url":"https://github.com/npm/node-semver/pull/593","tags":["web"]},{"url":"https://github.com/npm/node-semver/commit/2f8fd41487acf380194579ecb6f8b1bbfe116be0","tags":["web"]},{"url":"https://github.com/npm/node-semver/commit/928e56d21150da0413a3333a3148b20e741a920c","tags":["web"]},{"url":"https://github.com/npm/node-semver","tags":["package"]},{"url":"https://github.com/npm/node-semver/blob/main/classes/range.js#L97-L104","tags":["web"]},{"url":"https://github.com/npm/node-semver/blob/main/internal/re.js#L138","tags":["web"]},{"url":"https://github.com/npm/node-semver/blob/main/internal/re.js#L160","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20241025-0004","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.02761,"epssPercentile":0.86558,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-25883","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25883","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-25883","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c2qf-rxjj-qqgw","ok":true,"note":"GHSA-c2qf-rxjj-qqgw"},{"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-2022-25883","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}