Bugzilla – Bug 1212569
VUL-0: CVE-2022-25883: nodejs12,nodejs14,nodejs16,nodejs18: semver: Versions of the package semver before 7.5.2 are vulnerable to ReDos
Last modified: 2023-06-23 09:21:44 UTC
+++ This bug was initially created as a clone of Bug #1212565 +++ CVE-2022-25883 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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-25883 https://www.cve.org/CVERecord?id=CVE-2022-25883 https://github.com/npm/node-semver/blob/main/classes/range.js%23L97-L104 https://github.com/npm/node-semver/blob/main/internal/re.js%23L138 https://github.com/npm/node-semver/blob/main/internal/re.js%23L160 https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441 https://github.com/npm/node-semver/pull/564 https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795
From a quick scan we have semver embedded in most nodejs versions. I will track this from our side, please let me know if I missed anything: Affected: - SUSE:ALP:Source:Standard:1.0/nodejs18 18.16.0 - SUSE:SLE-15-SP2:Update/nodejs12 12.22.12 - SUSE:SLE-15-SP2:Update/nodejs14 14.21.3 - SUSE:SLE-15-SP3:Update/nodejs16 16.20.0 - SUSE:SLE-15-SP4:Update/nodejs16 16.20.0 - SUSE:SLE-15-SP4:Update/nodejs18 18.14.2 - SUSE:SLE-12-SP5:Update/nodejs16 16.20.0 - SUSE:SLE-12-SP5:Update/nodejs18 18.14.2 unsupported: - SUSE:SLE-15-SP2:Update/nodejs8 8.17.0 - SUSE:SLE-15:Update/nodejs10 10.24.1 - SUSE:SLE-15:Update/nodejs8 8.17.0 - SUSE:SLE-12-SP4:Update/nodejs14 14.21.3 - SUSE:SLE-12:Update/nodejs10 10.24.1 - SUSE:SLE-12:Update/nodejs12 12.22.12 - SUSE:SLE-12:Update/nodejs4 4.9.1 - SUSE:SLE-12:Update/nodejs6 6.17.1
Tracking as not affected: - SUSE:ALP:Source:Standard:1.0/nodejs18 18.16.0 - SUSE:SLE-15-SP2:Update/nodejs12 12.22.12 - SUSE:SLE-15-SP2:Update/nodejs14 14.21.3 - SUSE:SLE-15-SP3:Update/nodejs16 16.20.0 - SUSE:SLE-15-SP4:Update/nodejs16 16.20.0 - SUSE:SLE-15-SP4:Update/nodejs18 18.14.2 - SUSE:SLE-12-SP5:Update/nodejs16 16.20.0 - SUSE:SLE-12-SP5:Update/nodejs18 18.14.2 closing, invalid