Vulnerabilities

1 via 1 paths

Dependencies

11

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

high severity
new

Inefficient Algorithmic Complexity

  • Vulnerable module: brace-expansion
  • Introduced through: ts-morph@24.0.0

Detailed paths

  • Introduced through: ts-pegjs@metadevpro/ts-pegjs ts-morph@24.0.0 @ts-morph/common@0.25.0 minimatch@9.0.9 brace-expansion@2.1.1
    Remediation: Upgrade to ts-morph@26.0.0.

Overview

brace-expansion is a Brace expansion as known from sh/bash

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the expand function. An attacker can cause excessive CPU consumption and block the event loop by supplying a specially crafted string containing multiple consecutive non-expanding '{}' brace groups. The max option does not prevent this issue, as it only limits the output size and not the computational workload.

Remediation

Upgrade brace-expansion to version 5.0.7 or higher.

References