Skip to main content

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

CVE-2024-21533

Severity Medium
Score 6.5/10

Summary

Ggit is vulnerable to Arbitrary Argument Injection via the "clone()" API, which allows specifying the remote URL to clone and the file on disk to clone to. The library does not sanitize for user input or validate a URL scheme. It does not properly pass command-line flags to the git binary using the double-dash POSIX characters ("--") to communicate the end of options. The issue affects ggit versions 0.0.9 and after.

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

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