PT-2018-4719
CVE-2016-10540
·
Published
2018-05-31
·
Updated
2026-11-12
Description by
CVSS 3.1
7.5
HighMetricsAV: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. Found an issue in the description? Have something to add? Feel free to write us 👾