Inefficient Regular Expression Complexity Affecting nodejs:16/npm package, versions <1:8.1.2-1.16.13.1.3.module_el8.5.0+2605+45d748af


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.29% (69th 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-5635565
  • published28 May 2023
  • disclosed20 Sept 2022

Introduced: 20 Sep 2022

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

How to fix?

Upgrade AlmaLinux:8 nodejs:16/npm to version 1:8.1.2-1.16.13.1.3.module_el8.5.0+2605+45d748af 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/npm package and not the nodejs:16/npm package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

ansi-regex is vulnerable to Inefficient Regular Expression Complexity

CVSS Scores

version 3.1