Inefficient Regular Expression Complexity Affecting node-minimatch package, versions <3.0.4-3+deb10u1build0.18.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.75% (76th 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-UBUNTU1804-NODEMINIMATCH-3087730
  • published27 Oct 2022
  • disclosed17 Oct 2022

Introduced: 17 Oct 2022

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

How to fix?

Upgrade Ubuntu:18.04 node-minimatch to version 3.0.4-3+deb10u1build0.18.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-minimatch package and not the node-minimatch package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

A vulnerability was found in the minimatch package. This flaw allows a Regular Expression Denial of Service (ReDoS) when calling the braceExpand function with specific arguments, resulting in a Denial of Service.

CVSS Base Scores

version 3.1