Skip to content

Update minimatch past GHSA-g3hv-75wg-m249 (Dependabot alert 4) #136

Closed as not planned

Description

@joshdaugherty

Dependabot alert 4 on this repository (https://github.com/UAMS-Web/aether-redirects/security/dependabot/4): minimatch in package-lock.json, GHSA-g3hv-75wg-m249 (CVE-2026-118764, medium): potential denial of service via globparts amplification. Vulnerable range >= 7.0.0, < 11.0.1; first patched version 11.0.1. The dependency is development scope.

Scope

Josh asked for this on 2026-11-15, covering this alert only: raise minimatch to the first patched version in package-lock.json through one reviewed pull request, installing only in the builder's own working copy. If a patched minimatch cannot be reached without moving another package (a parent package pins an older major), stop and report which package and why, and do not move it. No other package moves.

Acceptance criteria

  • package-lock.json resolves every minimatch at or above 11.0.1, or the PR records which parent package pins an older major and the ticket stops there.
  • No other package version changes in package-lock.json or package.json unless the PR states why it was unavoidable.
  • npm audit output for minimatch is recorded in the PR, and the Dependabot alert reads fixed once the PR merges.
  • The repository's local checks pass.

Decision

Decided 2026-11-17: dismiss the alert as tolerable, and let the fix arrive upstream. minimatch is development scope and runs only inside the test tooling, on patterns the repository itself writes, so nothing outside the repository reaches it. The patched editorconfig 4 and glob 14 are accepted by no js-beautify release yet, and beautifier/js-beautify#2569 moves js-beautify onto minimatch 11. Once a js-beautify release carries it, a lockfile-only update clears the alert, and Dependabot opens that update itself. Rejected options: overrides forcing editorconfig 4 and glob 14 outside js-beautify's declared ranges, downgrading @vue/test-utils to 2.4.11, and leaving the alert open until the release. The alert is dismissed by the maintainer. No package moves under this ticket.

Activity

  1. added
    afkbuildable with no decision-forks
    developmentCode change that adds or changes functionality
    on Nov 15, 2026
  2. self-assigned this
    on Nov 17, 2026
  3. bpmore commented on Nov 17, 2026

    @bpmore
    Contributor

    Stopped under this ticket's Scope: no patched minimatch can be reached without moving another package.

    Read from package-lock.json on main at 05cb51f and from the npm registry on 2026-11-16:

    • The lock holds one minimatch, node_modules/minimatch at 10.2.6 (development scope). The advisory's first patched version is 11.0.1, and no 10.x release is patched: the vulnerable range is >= 7.0.0, < 11.0.1, and the newest 10.x is 10.2.6.
    • Two packages require it, and both pin major 10:
      • editorconfig 3.0.2 requires minimatch ~10.2.4. No 3.x release takes 11 (3.0.1 requires 10.0.1). editorconfig 4.0.1 takes ~11.0.5.
      • glob 13.0.7 requires minimatch ^10.2.2. No 13.x release takes 11. glob 14.x takes ^11.0.0.
    • Both come from js-beautify 2.0.3, which requires editorconfig ^3.0.2 and glob ^13.0.6. 2.0.3 is the latest js-beautify, so no release of it accepts the patched versions.
    • js-beautify comes from @vue/test-utils (^2.0.0, latest 2.6.0), which package.json requires as ^2.5.1 for the Control Panel component tests.

    So the parent that pins the older major is js-beautify, through editorconfig and glob. Nothing was changed. The routes that remain each move something this ticket does not allow:

    • an npm overrides entry forcing editorconfig 4 and glob 14 under js-beautify, outside the ranges it declares;
    • waiting for a js-beautify release that accepts them;
    • dismissing the alert as development-only, since minimatch runs only in the test tooling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

afkbuildable with no decision-forksdevelopmentCode change that adds or changes functionality

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions