Vulnerabilities

7 via 9 paths

Dependencies

206

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 7
  • 5
Severity
  • 6
  • 6
Status
  • 12
  • 0
  • 0

critical severity
new

Arbitrary Argument Injection

  • Vulnerable module: @simple-git/argv-parser
  • Introduced through: yeoman-generator@7.5.1

Detailed paths

  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › simple-git@3.36.0 › @simple-git/argv-parser@1.1.1
    Remediation: Upgrade to yeoman-generator@10.0.0.

Overview

Affected versions of this package are vulnerable to Arbitrary Argument Injection via the --exec option in listRemote() and raw(), which allows attackers to bypass the allowUnsafePack guard by injecting --exec into non-push git operations such as ls-remote, archive, fetch-pack, or send-pack, resulting in arbitrary command execution on the host.

Remediation

Upgrade @simple-git/argv-parser to version 3.0.0 or higher.

References

critical severity

Command Injection

  • Vulnerable module: @simple-git/argv-parser
  • Introduced through: yeoman-generator@7.5.1

Detailed paths

  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › simple-git@3.36.0 › @simple-git/argv-parser@1.1.1
    Remediation: Upgrade to yeoman-generator@10.0.0.

Overview

Affected versions of this package are vulnerable to Command Injection via the prepareEnv function in parse-env.ts, which fails to recognize the VISUAL environment variable as a tracked unsafe editor key. Because VISUAL is not included in the GitEnvKeys map, it is silently discarded before collectConfigVulnerabilities inspects the environment, allowing an attacker-controlled VISUAL value to bypass the blockUnsafeOperationsPlugin spawn guard that would otherwise require the consumer to explicitly opt in to allowUnsafeEditor. This bypass permits an attacker who can influence the process environment to inject an arbitrary editor binary, potentially achieving remote code execution.

Remediation

Upgrade @simple-git/argv-parser to version 2.0.1 or higher.

References

critical severity
new

Arbitrary Argument Injection

  • Vulnerable module: simple-git
  • Introduced through: yeoman-generator@7.5.1

Detailed paths

  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › simple-git@3.36.0
    Remediation: Upgrade to yeoman-generator@10.0.0.

Overview

simple-git is a light weight interface for running git commands in any node.js application.

Affected versions of this package are vulnerable to Arbitrary Argument Injection via the --exec option in listRemote() and raw(), which allows attackers to bypass the allowUnsafePack guard by injecting --exec into non-push git operations such as ls-remote, archive, fetch-pack, or send-pack, resulting in arbitrary command execution on the host.

Remediation

Upgrade simple-git to version 4.1.0 or higher.

References

critical severity

Arbitrary Command Injection

  • Vulnerable module: simple-git
  • Introduced through: yeoman-generator@7.5.1

Detailed paths

  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › simple-git@3.36.0
    Remediation: Upgrade to yeoman-generator@10.0.0.

Overview

simple-git is a light weight interface for running git commands in any node.js application.

Affected versions of this package are vulnerable to Arbitrary Command Injection via the blockUnsafeOperationsPlugin, which fails to block dangerous git options (such as --upload-pack, --receive-pack, and --exec) when abbreviated forms of those options are supplied by an attacker. An attacker who can influence the arguments passed to git commands can bypass the plugin's protections and achieve remote code execution.

Note: This is only exploitable when the consumer has not opted in via unsafe:{allowUnsafePack:true}, meaning the plugin is active but can be bypassed through abbreviated option names.

Remediation

Upgrade simple-git to version 4.0.0 or higher.

References

critical severity

Arbitrary Command Injection

  • Vulnerable module: simple-git
  • Introduced through: yeoman-generator@7.5.1

Detailed paths

  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › simple-git@3.36.0
    Remediation: Upgrade to yeoman-generator@10.0.0.

Overview

simple-git is a light weight interface for running git commands in any node.js application.

Affected versions of this package are vulnerable to Arbitrary Command Injection via the detect-vulnerable-config-writes path in the argv-parser package, where unsanitised arguments passed to git commands allow an attacker to inject arbitrary options through abbreviated flag handling. Because git accepts abbreviated long options by default, a remote attacker can supply a truncated flag that resolves to a dangerous option (such as --upload-pack) and achieve arbitrary command execution on the host running the library.

Remediation

Upgrade simple-git to version 4.0.0 or higher.

References

critical severity

Command Injection

  • Vulnerable module: simple-git
  • Introduced through: yeoman-generator@7.5.1

Detailed paths

  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › simple-git@3.36.0
    Remediation: Upgrade to yeoman-generator@10.0.0.

Overview

simple-git is a light weight interface for running git commands in any node.js application.

Affected versions of this package are vulnerable to Command Injection via the rebase command handler and the trailer.<token>.cmd/trailer.<token>.command configuration keys, which allow an attacker to inject the -x/--exec flag or a shell-executable trailer command into a spawned Git process. An attacker who can influence the arguments or configuration passed to simple-git can achieve arbitrary command execution on the host system.

Remediation

Upgrade simple-git to version 4.0.0 or higher.

References

medium severity
new

Asymmetric Resource Consumption (Amplification)

  • Vulnerable module: minimatch
  • Introduced through: yeoman-generator@7.5.1

Detailed paths

  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › mem-fs-editor@11.1.4 › ejs@3.1.10 › jake@10.9.4 › filelist@1.0.6 › minimatch@5.1.9
  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › mem-fs-editor@11.1.4 › minimatch@9.0.9
  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › mem-fs-editor@11.1.4 › multimatch@7.0.0 › minimatch@9.0.9

Overview

minimatch is a minimal matching utility.

Affected versions of this package are vulnerable to Asymmetric Resource Consumption (Amplification) in the firstPhasePreProcess method, where the **/.. transform clones a globParts entry and pushes the clone back onto the same array inside a do...while (didSomething) fixpoint loop. An attacker can exhaust CPU and memory by supplying a glob pattern whose **/.. sequences regenerate entries during preprocessing, which secondPhasePreProcess then compares in an O(n^2) pairwise partsMatch pass over the expanded set. Exploitation requires the pattern to be parsed with optimizationLevel set to 2 or higher.

Remediation

Upgrade minimatch to version 11.0.1 or higher.

References

medium severity

Artistic-2.0 license

  • Module: binaryextensions
  • Introduced through: yeoman-generator@7.5.1

Detailed paths

  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › mem-fs-editor@11.1.4 › binaryextensions@6.11.0

Artistic-2.0 license

medium severity

Artistic-2.0 license

  • Module: editions
  • Introduced through: yeoman-generator@7.5.1

Detailed paths

  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › mem-fs-editor@11.1.4 › binaryextensions@6.11.0 › editions@6.22.0
  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › mem-fs-editor@11.1.4 › textextensions@6.11.0 › editions@6.22.0

Artistic-2.0 license

medium severity

MPL-2.0 license

  • Module: prettier-plugin-pkg
  • Introduced through: prettier-plugin-pkg@0.21.2

Detailed paths

  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › prettier-plugin-pkg@0.21.2

MPL-2.0 license

medium severity

Artistic-2.0 license

  • Module: textextensions
  • Introduced through: yeoman-generator@7.5.1

Detailed paths

  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › mem-fs-editor@11.1.4 › textextensions@6.11.0

Artistic-2.0 license

medium severity

Artistic-2.0 license

  • Module: version-range
  • Introduced through: yeoman-generator@7.5.1

Detailed paths

  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › mem-fs-editor@11.1.4 › binaryextensions@6.11.0 › editions@6.22.0 › version-range@4.15.0
  • Introduced through: generator-startmeup@fernandopasik/generator-startmeup › yeoman-generator@7.5.1 › mem-fs-editor@11.1.4 › textextensions@6.11.0 › editions@6.22.0 › version-range@4.15.0

Artistic-2.0 license