Vulnerabilities

1 via 1 paths

Dependencies

19

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: ejs@3.1.10

Detailed paths

  • Introduced through: protocol-registry@Shubham-Kumar-2000/protocol-registry ejs@3.1.10 jake@10.9.4 filelist@1.0.6 minimatch@5.1.9 brace-expansion@2.1.1
    Remediation: Upgrade to ejs@5.0.1.

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