Vulnerabilities |
2 via 2 paths |
|---|---|
Dependencies |
261 |
Source |
GitHub |
Find, fix and prevent vulnerabilities in your code.
high severity
new
- 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
medium severity
new
- Vulnerable module: picomatch
- 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 › picomatch@2.3.2
Overview
Affected versions of this package are vulnerable to Incorrect Regular Expression via the globstar function in lib/parse.js, where globstar (**) patterns are compiled without the dotAll flag, causing the generated regular expression to use . which does not match line terminator characters. An attacker who controls file names, object keys, or archive entry names can embed newline characters in those names to evade **-based deny patterns, causing excluded resources to be included and exposed.
Remediation
A fix was pushed into the master branch but not yet published.