Vulnerabilities

1 via 1 paths

Dependencies

120

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: @npmversion/cli@2.0.5

Detailed paths

  • Introduced through: npmversion@rochejul/npmversion @npmversion/cli@2.0.5 @npmversion/core@2.0.5 @npmversion/workspace@2.0.5 @npmcli/package-json@6.1.0 glob@10.5.0 minimatch@9.0.9 brace-expansion@2.1.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