Skip to main content

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

CVE-2022-21235

Severity High
Score 9.8/10

Summary

The package github.com/masterminds/vcs before 1.13.2 are vulnerable to Command Injection via argument injection. When hg is executed, argument strings are passed to hg in a way that additional flags can be set. The additional flags can be used to perform a command injection.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-88 - Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

The software constructs a string for a command to executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.

Advisory Timeline

  • Published