CVEfocus › CVE database › CVE-2016-10540

CVE-2016-10540

CVSS 7.5 HighEPSS 1.5% (higher than 74% of CVEs)Published 2018-05-31Updated 2024-09-16Assigner: hackerone

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.

CWE-400

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04node-minimatchNot affected
vulnerable_code_not_present
Ubuntu 20.04node-minimatchNot affected
vulnerable_code_not_present
Ubuntu 18.04node-minimatchNot affected
vulnerable_code_not_present
Ubuntu 16.04node-minimatchFix pending1.0.0-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2016-10540
Ubuntu 14.04node-minimatchFix pending0.2.12-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2016-10540
Debian 14node-minimatchFixed3.0.3-1DEBIAN-CVE-2016-10540
Debian 13node-minimatchFixed3.0.3-1DEBIAN-CVE-2016-10540
Debian 12node-minimatchFixed3.0.3-1DEBIAN-CVE-2016-10540
npm libraryminimatchFixed3.0.2GHSA-hxm2-r34f-qmc5

What the vendor says

As published in the CVE record by hackerone, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.