Inefficient Regular Expression Complexity Affecting nodejs-packaging package, versions <0:25-1.module+el8.5.0+702+221f14e6


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.11% (45th 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-ROCKY8-NODEJSPACKAGING-3205225
  • published5 Jan 2023
  • disclosed24 May 2021

Introduced: 24 May 2021

CVE-2021-33502  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 nodejs-packaging to version 0:25-1.module+el8.5.0+702+221f14e6 or higher.
This issue was patched in RLSA-2021:5171.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-packaging package and not the nodejs-packaging package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

The normalize-url package before 4.5.1, 5.x before 5.3.1, and 6.x before 6.0.1 for Node.js has a ReDoS (regular expression denial of service) issue because it has exponential performance for data: URLs.

CVSS Scores

version 3.1