{"id":"CVE-2022-25883","details":"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","aliases":["GHSA-c2qf-rxjj-qqgw"],"modified":"2026-06-18T03:55:36.720769766Z","published":"2023-06-21T05:00:03.352Z","related":["ALSA-2023:5360","ALSA-2023:5362","ALSA-2023:5363","CGA-hc3v-gjg5-v437","openSUSE-SU-2024:14012-1"],"database_specific":{"cna_assigner":"snyk","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25883.json","cwe_ids":["CWE-1333"]},"references":[{"type":"WEB","url":"https://github.com/npm/node-semver/blob/main/classes/range.js%23L97-L104"},{"type":"WEB","url":"https://github.com/npm/node-semver/blob/main/internal/re.js%23L138"},{"type":"WEB","url":"https://github.com/npm/node-semver/blob/main/internal/re.js%23L160"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25883.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25883"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20241025-0004/"},{"type":"FIX","url":"https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441"},{"type":"FIX","url":"https://github.com/npm/node-semver/pull/564"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/npm/node-semver","events":[{"introduced":"0"},{"fixed":"f8cc313550691a50d9662d8c94f0c033717efd7d"},{"introduced":"5fb517b2906a0763518e1941a3f4a163956a81d3"},{"fixed":"44d27bc007e4827e9b797d6145f1076c127005f2"},{"introduced":"f56505b1c08856a7e6139f6ee5d4580f5f2feed8"},{"fixed":"7fdf1ef223826b428d7f8aaf906e9eeefa9469f9"},{"fixed":"717534ee353682f3bcf33e60a8af4292626d4441"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"5.7.2"},{"introduced":"6.0.0"},{"fixed":"6.3.1"},{"introduced":"7.0.0"},{"fixed":"7.5.3"}],"cpe":"cpe:2.3:a:npmjs:semver:*:*:*:*:*:node.js:*:*","source":["CPE_RANGE","REFERENCES"]}}],"versions":["v6.3.0","v5.7.1","v7.5.2","v7.5.1","v7.5.0","v7.4.0","v7.3.8","v7.3.7","v7.3.6","v7.3.5","v7.3.4","v7.3.3","v7.3.2","v7.3.1","v7.3.0","v7.2.3","v7.2.2","v7.2.1","v7.2.0","v7.1.3","v7.1.2","v7.1.1","v7.1.0","v7.0.0","v5.7.0","v6.2.0","v6.1.3","v6.1.2","v6.1.1","v6.1.0","v6.0.0","v5.6.0","v5.5.1","v5.5.0","v5.4.1","v5.4.0","v5.3.0","v5.2.0","v5.1.1","v5.1.0","v5.0.3","v5.0.2","v5.0.1","v5.0.0","v4.3.6","v4.3.5","v4.3.4","v4.3.3","v4.3.2","v4.3.1","v4.3.0","v4.2.2","v4.2.1","v4.2.0","v4.1.1","v4.1.0","v4.0.3","v4.0.2","v4.0.1","v4.0.0","v3.0.1","v3.0.0","v2.3.2","v2.3.1","v2.3.0","v2.2.1","v2.2.0","v2.1.0","v2.0.11","v2.0.10","v2.0.9","v2.0.8","v2.0.7","v2.0.6","v2.0.5","v2.0.4","v2.0.3","v2.0.2","v2.0.1","v2.0.0-beta","v1.1.5","v1.1.4","v1.1.3","v1.1.2","v1.1.1","v1.1.0","1.0.14","1.0.13","1.0.12","1.0.11","1.0.10","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v0.1.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-25883.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P"}]}