Vulnerabilities

2 via 2 paths

Dependencies

262

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 2
Status
  • 2
  • 0
  • 0

high severity

Uncontrolled Recursion

  • Vulnerable module: braces
  • Introduced through: patch-package@8.0.1

Detailed paths

  • Introduced through: ever-gauzy@ever-co/ever-gauzy › patch-package@8.0.1 › find-yarn-workspace-root@2.0.0 › 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

Improper Encoding or Escaping of Output

  • Vulnerable module: open
  • Introduced through: patch-package@8.0.1

Detailed paths

  • Introduced through: ever-gauzy@ever-co/ever-gauzy › patch-package@8.0.1 › open@7.4.2

Overview

open is a cross platform package that opens stuff like URLs, files, executables.

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output in the baseOpen function in index.js, which assembles a PowerShell Start-Process invocation by wrapping each argument as "`"${argument}`"" without escaping a double quote inside the value, and passes the target through with $ intact so PowerShell expands it as a variable reference. An attacker who controls the target or an entry in options.app.arguments can change the command PowerShell receives, either dropping text where a $name segment is expanded away or terminating the surrounding quoting with a ", which makes the call fail with no error surfaced to the caller. Reaching either case requires the calling application to pass a target or argument value that the attacker influences.

Note: This applies only where the PowerShell path is taken, meaning Windows, or WSL, where the target is first converted with convertWslPathToWindows and then handed to the same invocation. Callers on other platforms do not reach this assembly.

Remediation

Upgrade open to version 11.0.0 or higher.

References