PT-2018-4719 · Npm+1 · Minimatch+1

Published

2018-05-31

·

Updated

2021-03-15

·

CVE-2016-10540

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Minimatch versions 3.0.1 and earlier
Description The issue concerns a minimal matching utility that converts glob expressions into JavaScript RegExp objects. It is vulnerable to ReDoS in the pattern parameter of the primary function minimatch(path, pattern). This vulnerability can lead to regular expression denial of service attacks when user input is passed into the pattern argument.
Recommendations Update to version 3.0.2 or later. As a temporary workaround, consider restricting the use of the pattern parameter in the minimatch(path, pattern) function to minimize the risk of exploitation. Avoid using user input in the pattern argument until the issue is resolved.

Exploit

Fix

RCE

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-44502
CVE-2016-10540
GHSA-HXM2-R34F-QMC5
USN-4783-1

Affected Products

Minimatch
Ubuntu