Inefficient Regular Expression Complexity Affecting npm package, versions <1:8.19.4-1.16.20.2.2.module+el8.8.0+21172+0baa0bae


Severity

Recommended
0.0
high
0
10

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.35% (72nd 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 Learn

Learn about Inefficient Regular Expression Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE8-NPM-5925360
  • published28 Sept 2023
  • disclosed21 Jun 2023

Introduced: 21 Jun 2023

CVE-2022-25883  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Oracle:8 npm to version 1:8.19.4-1.16.20.2.2.module+el8.8.0+21172+0baa0bae or higher.
This issue was patched in ELSA-2023-5360.

NVD Description

Note: Versions mentioned in the description apply only to the upstream npm package and not the npm 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.

CVSS Scores

version 3.1