Skip to content
OpenAdvisories
High · 7.5 CVE-2016-10540 EUVD-2018-0621GHSA-hxm2-r34f-qmc5

Regular Expression Denial of Service in minimatch

Published May 31, 2018 · Updated Sep 16, 2024 · Assigned by hackerone

Description

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.

Affected products

VendorProductAffectedFixed
HackerOne minimatch node module <=3.0.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-minimatch 3.0.3-1 —
Debian 13 node-minimatch 3.0.3-1 —
Debian 12 node-minimatch 3.0.3-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS node-minimatch 1.0.0-1ubuntu0.1~esm2 USN-4783-1
Ubuntu Pro 14.04 LTS node-minimatch 0.2.12-1ubuntu0.1~esm2 USN-4783-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 js-jquery No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm minimatch < 3.0.2 3.0.2 GHSA-hxm2-r34f-qmc5

Advisories 3

References