Repository navigation
fix: update dependency minimatch to v11 [security] - #535
Merged
Merged
Conversation
2 of 3 tasks
Member
|
I’m marking this PR as a draft for now until consensus is reached in eslint/eslint#21463. |
lumirlumir
marked this pull request as draft
November 6, 2026 06:29
mdjermanovic
self-requested a review
November 7, 2026 14:30
mdjermanovic
reviewed
Nov 7, 2026
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Member
|
Summary of changes in v11: eslint/eslint#21492 (comment) I also verified locally that |
mdjermanovic
marked this pull request as ready for review
November 7, 2026 15:31
mdjermanovic
approved these changes
Nov 7, 2026
Merged
1 of 11 tasks
4 of 6 tasks
dekobon
added a commit
to dekobon/tree-sitter-groovy
that referenced
this pull request
Nov 10, 2026
eslint 9 has been end-of-life since 2026-08-06. The blocker was eslint-config-treesitter 1.0.2, which has had no release since 2024-09. Work around its two defects in package.json instead: - Add `globals` as a devDependency. The config imports it without declaring it, and eslint 10 no longer supplies it transitively. - Override the config's eslint-plugin-jsdoc ^50 -> ^62.9.0, the newest major accepting eslint 10 that still runs on Node 20 (the CI lint job, #62). Neither reaches consumers: devDependencies are not installed and npm only honors `overrides` in the root project. Lint behavior: the repo lints clean under eslint 10 on Node 20 and 25, and `npm ls` exits 0. A probe file reproduces every eslint 9 diagnostic unchanged; jsdoc 62's recommended set only adds warnings (reject-any-type, escape-inline-tags, and similar). The dependabot.yml major-version hold is replaced by a note on the workarounds and when to drop them. Known issue: eslint 10.14.0 pulls minimatch 10.2.6, flagged by GHSA-g3hv-75wg-m249 (moderate; glob-pattern DoS). Patterns here come only from our own config, so it is not reachable. The fix is merged upstream (eslint/eslint#21492, eslint/rewrite#535) but unreleased; bump eslint once it ships.
|
@mdjermanovic a new version would also be appreciated, I would like to fix npm audit issues without manually pinning minimatch to 11. |
This was referenced Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^10.2.6→^11.0.0minimatch has potential denial of service via globparts amplification
CVE-2026-118764 / GHSA-g3hv-75wg-m249
More information
Details
minimatch 10.2.6 contains an attacker-controlled pattern amplification in firstPhasePreProcess() when optimizationLevel >= 2.
researcher: Reid Downing (b1nv0id)
files:
issue:
input-controlled growth of globParts during first-phase preprocessing, followed by quadratic second-phase processing.
the **/../ transformation clones a globparts entry and appends the clone to the same globparts array:
this occurs inside a do...while (didSomething) fixpoint loop, allowing generated entries to be processed again.
the expanded globparts array is subsequently processed by secondPhasePreProcess(), which performs pairwise comparisons:
an attacker who can supply a glob pattern can therefore cause additional pattern entries to be generated during preprocessing, followed by quadratic pairwise processing, resulting in excessive cpu and memory consumption.
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
isaacs/minimatch (minimatch)
v11.0.5Compare Source
v11.0.4Compare Source
v11.0.3Compare Source
v11.0.2Compare Source
v11.0.1Compare Source
v11.0.0Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.