Skip to content

🏥 CI FailureDependency Vulnerability Audit fails: high-severity minimatch ReDoS in main package #1074

@github-actions

Description

@github-actions

Summary

The "Audit Main Package" job in the Dependency Vulnerability Audit workflow failed on commit 68148f59eb89d99974b0781777fba0c368be4156 due to a high-severity vulnerability in minimatch.

Note: The "Audit Docs Site Package" job also failed in the same run due to a high-severity rollup vulnerability — that is already tracked separately.


Failed Step

Step 8: Run npm audit (fail on high/critical)

npm audit --audit-level=high

Vulnerabilities Found

🔴 HIGH — minimatch ReDoS (main package)

  • Package: minimatch 10.0.0 – 10.2.2
  • Advisories:
    • GHSA-7r86-cg39-jmmjmatchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments
    • GHSA-23c5-xmqv-rm74 — nested *() extglobs generate catastrophically backtracking regular expressions
  • Fix: npm audit fix

🟡 MODERATE — ajv ReDoS (main package)

  • Package: ajv <6.14.0 || >=7.0.0-alpha.0 <8.18.0
  • Advisory: GHSA-2g4f-4pwh-qvx6 — ReDoS when using $data option
  • Affects: node_modules/ajv, node_modules/@commitlint/config-validator/node_modules/ajv
  • Fix: npm audit fix

Root Cause

New versions of minimatch (10.0.0–10.2.2) introduced ReDoS vulnerabilities. Since AWF likely has a transitive dependency on this range, running npm audit fix should update it to a patched version (10.2.3+).


Recommended Actions

  1. Run npm audit fix in the root package to update minimatch and ajv
  2. Verify with npm audit --audit-level=high that no high/critical issues remain
  3. Commit the updated package-lock.json

Related

Generated by CI Doctor

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingci

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions