Improper Input Validation Affecting node-minimatch package, versions <3.0.3-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.5% (75th 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-ECHOLATEST-NODEMINIMATCH-18021995
  • published20 Jul 2026
  • disclosed31 May 2018

Introduced: 31 May 2018

CVE-2016-10540  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Echo:latest node-minimatch to version 3.0.3-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 Echo. See How to fix? for Echo:latest relevant fixed versions and status.

Minimatch is a minimal matching utility that works by converting glob expressions into JavaScript RegExp objects. The primary function, minimatch(path, pattern) in Minimatch 3.0.1 and earlier is vulnerable to ReDoS in the pattern parameter.