Vulnerabilities

2 via 5 paths

Dependencies

132

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 2
Status
  • 2
  • 0
  • 0

high severity
new

Uncontrolled Recursion

  • Vulnerable module: braces
  • Introduced through: tailwindcss@3.4.19

Detailed paths

  • Introduced through: tbmhelper@Catatomik/TBMHelper › tailwindcss@3.4.19 › chokidar@3.6.0 › braces@3.0.3
  • Introduced through: tbmhelper@Catatomik/TBMHelper › tailwindcss@3.4.19 › micromatch@4.0.8 › braces@3.0.3
  • Introduced through: tbmhelper@Catatomik/TBMHelper › tailwindcss@3.4.19 › fast-glob@3.3.3 › micromatch@4.0.8 › braces@3.0.3

Overview

braces is a Bash-like brace expansion, implemented in JavaScript.

Affected versions of this package are vulnerable to Uncontrolled Recursion in the recursive AST walkers, which lack depth guards. An attacker can supply deeply nested brace patterns that stay within the character limit to exhaust the call stack and crash the Node.js process with an uncaught RangeError.

Remediation

There is no fixed version for braces.

References

high severity
new

Inefficient Algorithmic Complexity

  • Vulnerable module: postcss-selector-parser
  • Introduced through: tailwindcss@3.4.19

Detailed paths

  • Introduced through: tbmhelper@Catatomik/TBMHelper › tailwindcss@3.4.19 › postcss-selector-parser@6.1.4
    Remediation: Upgrade to tailwindcss@4.0.0.
  • Introduced through: tbmhelper@Catatomik/TBMHelper › tailwindcss@3.4.19 › postcss-nested@6.2.0 › postcss-selector-parser@6.1.4
    Remediation: Upgrade to tailwindcss@4.0.0.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the uniqs helper and index-membership checks in src/parser.js when parsing flat selectors (e.g. .a.a.a...) containing a large number of class or ID tokens. The original implementation uses Array.indexOf inside a filter callback and repeated linear scans of the hasClass/hasId arrays, producing quadratic time complexity proportional to the number of tokens. An attacker who can supply selector input to the parser can trigger CPU exhaustion by providing a long flat selector, pinning a CPU core and causing the process to become unresponsive.

Remediation

Upgrade postcss-selector-parser to version 7.1.6 or higher.

References