org.mvnpm:glob@14.0.3

  • latest version

    14.0.3

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mvnpm:glob package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Allocation of Resources Without Limits or Throttling

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in src/ignore.ts, the Ignore class constructs its own minimatch options without including a braceExpandMax limit, causing ignore patterns to fall back to minimatch's default of 100,000 instead of the 10,000 cap applied to regular patterns. Both code paths force optimizationLevel: 2, which is the precondition for minimatch's O(n²) globparts amplification in secondPhasePreProcess(). An attacker who can supply ignore patterns can pass a brace-expansion payload that is rejected in milliseconds as a regular pattern but consumes several seconds of CPU when processed as an ignore pattern, blocking the Node.js event loop.

    How to fix Allocation of Resources Without Limits or Throttling?

    A fix was pushed into the master branch but not yet published.

    [13.0.5,)