{"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-05-18T05:54:03.220898575Z","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":{"cwe_ids":["CWE-1333"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25883.json","cna_assigner":"snyk"},"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":"f56505b1c08856a7e6139f6ee5d4580f5f2feed8"},{"fixed":"e7b78de06eb14a7fa2075cedf9f167040d8d31af"}]}],"versions":["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"],"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"}]}