Inefficient Regular Expression Complexity Affecting nodejs:16/nodejs package, versions <1:16.13.1-3.module_el8.5.0+246+05401605


Severity

Recommended
medium

Based on AlmaLinux 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 IDSNYK-ALMALINUX8-NODEJS-5635521
  • published28 May 2023
  • disclosed20 Sept 2022

Introduced: 20 Sep 2022

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

How to fix?

Upgrade AlmaLinux:8 nodejs:16/nodejs to version 1:16.13.1-3.module_el8.5.0+246+05401605 or higher.
This issue was patched in ALSA-2021:5171.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:16/nodejs package and not the nodejs:16/nodejs package as distributed by AlmaLinux. See How to fix? for AlmaLinux: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