org.webjars.npm:minimatch@5.1.9

  • latest version

    10.2.6

  • first published

    11 years ago

  • latest version published

    2 months ago

  • licenses detected

    • [0.2.14,0.3.0); [2.0.7,10.2.4)
  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:minimatch 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
    Asymmetric Resource Consumption (Amplification)

    org.webjars.npm:minimatch is a minimal matching utility.

    Affected versions of this package are vulnerable to Asymmetric Resource Consumption (Amplification) in the firstPhasePreProcess method, where the **/.. transform clones a globParts entry and pushes the clone back onto the same array inside a do...while (didSomething) fixpoint loop. An attacker can exhaust CPU and memory by supplying a glob pattern whose **/.. sequences regenerate entries during preprocessing, which secondPhasePreProcess then compares in an O(n^2) pairwise partsMatch pass over the expanded set. Exploitation requires the pattern to be parsed with optimizationLevel set to 2 or higher.

    How to fix Asymmetric Resource Consumption (Amplification)?

    There is no fixed version for org.webjars.npm:minimatch.

    [0,)
    • H
    Inefficient Algorithmic Complexity

    org.webjars.npm:minimatch is a minimal matching utility.

    Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the matchOne function. An attacker can cause significant delays in processing and stall the event loop by supplying specially crafted glob patterns containing multiple non-adjacent GLOBSTAR segments.

    How to fix Inefficient Algorithmic Complexity?

    Upgrade org.webjars.npm:minimatch to version 10.2.4 or higher.

    [,10.2.4)
    • H
    Regular Expression Denial of Service (ReDoS)

    org.webjars.npm:minimatch is a minimal matching utility.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). An attacker can cause excessive resource consumption and application unresponsiveness by supplying specially crafted nested extglob patterns that trigger catastrophic backtracking in the regular expression engine.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade org.webjars.npm:minimatch to version 10.2.4 or higher.

    [,10.2.4)
    • H
    Regular Expression Denial of Service (ReDoS)

    org.webjars.npm:minimatch is a minimal matching utility.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the AST class, caused by catastrophic backtracking when an input string contains many * characters in a row, followed by an unmatched character.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade org.webjars.npm:minimatch to version 10.2.4 or higher.

    [,10.2.4)