npm package

micromatch 4.0.5 vulnerability, and the version that fixes it

micromatch 4.0.5 has 1 known vulnerability; 4.0.8 fixes it.

npm (opens in a new tab) describes it as “Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.”

Known vulnerabilities
1
None rated high or critical
Released
Mar 24, 2022
Latest is 4.0.8
Downloads last week
7.4M
5% of micromatch downloads
Licence
MIT
Pulls in
5 packages
Resolved by deps.dev

What to upgrade to

4.0.8 is the closest release with no known vulnerabilities.

  • 4.0.8Upgrade to this

    Fixes the known vulnerability and the newest 4.x release and the latest release. Released Aug 23, 2024.

    No known vulnerabilities

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for micromatch 4.0.5

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. WarningCVE-2024-4067 on OSV.dev (opens in a new tab)GHSA-952p-6rrq-rcjvEPSS: top 28%

    Regular Expression Denial of Service (ReDoS) in micromatch

    Fixed in 4.0.8. Published May 14, 2024.

Who is still on a vulnerable micromatch

17% of last week’s 162.5M micromatch downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is micromatch the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly micromatch 4.0.5, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.