Inefficient Regular Expression Complexity Affecting nodejs-devel package, versions <1:18.17.1-1.module+el8.8.0+21170+2efec6d4
Threat Intelligence
EPSS
0.16% (54th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ORACLE8-NODEJSDEVEL-5925365
- published 28 Sep 2023
- disclosed 21 Jun 2023
Introduced: 21 Jun 2023
CVE-2022-25883 Open this link in a new tabHow to fix?
Upgrade Oracle:8
nodejs-devel
to version 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 or higher.
This issue was patched in ELSA-2023-5362
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream nodejs-devel
package and not the nodejs-devel
package as distributed by Oracle
.
See How to fix?
for Oracle:8
relevant fixed versions and status.
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
- https://linux.oracle.com/cve/CVE-2022-25883.html
- https://linux.oracle.com/errata/ELSA-2023-5360.html
- https://linux.oracle.com/errata/ELSA-2023-5362.html
- https://linux.oracle.com/errata/ELSA-2023-5363.html
- 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
CVSS Scores
version 3.1