ggit is vulnerable to Arbitrary Argument Injection via the clone() API
Moderate severity
GitHub Reviewed
Published
Oct 8, 2024
to the GitHub Advisory Database
•
Updated Oct 8, 2024
Description
Published by the National Vulnerability Database
Oct 8, 2024
Published to the GitHub Advisory Database
Oct 8, 2024
Last updated
Oct 8, 2024
Reviewed
Oct 8, 2024
All versions of the package ggit are 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 given URL scheme, nor does it properly pass command-line flags to the git binary using the double-dash POSIX characters (--) to communicate the end of options.
References