Skip to content

chore(deps): update dependency micromatch to v4.0.8 [security]#244

Open
renovate-sh-app[bot] wants to merge 1 commit intomainfrom
renovate/npm-micromatch-vulnerability
Open

chore(deps): update dependency micromatch to v4.0.8 [security]#244
renovate-sh-app[bot] wants to merge 1 commit intomainfrom
renovate/npm-micromatch-vulnerability

Conversation

@renovate-sh-app
Copy link
Copy Markdown

@renovate-sh-app renovate-sh-app bot commented Oct 17, 2025

This PR contains the following updates:

Package Change Age Confidence
micromatch 4.0.44.0.8 age confidence

GitHub Vulnerability Alerts

CVE-2024-4067

The NPM package micromatch prior to version 4.0.8 is vulnerable to Regular Expression Denial of Service (ReDoS). The vulnerability occurs in micromatch.braces() in index.js because the pattern .* will greedily match anything. By passing a malicious payload, the pattern matching will keep backtracking to the input while it doesn't find the closing bracket. As the input size increases, the consumption time will also increase until it causes the application to hang or slow down. There was a merged fix but further testing shows the issue persisted prior to https://github.com/micromatch/micromatch/pull/266. This issue should be mitigated by using a safe pattern that won't start backtracking the regular expression due to greedy matching.


Regular Expression Denial of Service (ReDoS) in micromatch

CVE-2024-4067 / GHSA-952p-6rrq-rcjv

More information

Details

The NPM package micromatch prior to version 4.0.8 is vulnerable to Regular Expression Denial of Service (ReDoS). The vulnerability occurs in micromatch.braces() in index.js because the pattern .* will greedily match anything. By passing a malicious payload, the pattern matching will keep backtracking to the input while it doesn't find the closing bracket. As the input size increases, the consumption time will also increase until it causes the application to hang or slow down. There was a merged fix but further testing shows the issue persisted prior to https://github.com/micromatch/micromatch/pull/266. This issue should be mitigated by using a safe pattern that won't start backtracking the regular expression due to greedy matching.

Severity

  • CVSS Score: 5.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

micromatch/micromatch (micromatch)

v4.0.8

Compare Source

v4.0.7

Compare Source

  • this is basically v4.0.5, with some README updates
  • it is vulnerable to CVE-2024-4067
  • Updated braces to v3.0.3 to avoid CVE-2024-4068
  • does NOT break API compatibility

v4.0.6

Compare Source

  • Added hasBraces to check if a pattern contains braces.
  • Fixes CVE-2024-4067
  • BREAKS API COMPATIBILITY
  • Should be labeled as a major release, but it's not.

v4.0.5

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Need help?

You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section.

@renovate-sh-app renovate-sh-app bot requested a review from a team as a code owner October 17, 2025 10:36
@renovate-sh-app renovate-sh-app bot enabled auto-merge (squash) October 17, 2025 10:36
@renovate-sh-app renovate-sh-app bot force-pushed the renovate/npm-micromatch-vulnerability branch from 64954d1 to 8679ed5 Compare February 9, 2026 12:08
@renovate-sh-app renovate-sh-app bot force-pushed the renovate/npm-micromatch-vulnerability branch 2 times, most recently from 4e0b132 to cefef16 Compare February 20, 2026 12:09
@renovate-sh-app renovate-sh-app bot force-pushed the renovate/npm-micromatch-vulnerability branch from cefef16 to 4c546c7 Compare March 20, 2026 15:03
@renovate-sh-app renovate-sh-app bot force-pushed the renovate/npm-micromatch-vulnerability branch 2 times, most recently from 953678b to aaa6893 Compare March 25, 2026 15:03
@renovate-sh-app renovate-sh-app bot force-pushed the renovate/npm-micromatch-vulnerability branch 2 times, most recently from f709a66 to 7be0854 Compare April 7, 2026 09:02
| datasource | package    | from  | to    |
| ---------- | ---------- | ----- | ----- |
| npm        | micromatch | 4.0.4 | 4.0.8 |


Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
@renovate-sh-app renovate-sh-app bot force-pushed the renovate/npm-micromatch-vulnerability branch from 7be0854 to 4586409 Compare April 8, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants