PT-2024-18947 · Ggit · Ggit
Liran Tal
·
Published
2024-10-07
·
Updated
2024-10-10
·
CVE-2024-21533
CVSS v4.0
6.9
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
ggit versions all
Description
The issue concerns Arbitrary Argument Injection via the clone() API. This API allows specifying the remote URL to clone and the file on disk to clone to. However, the library fails to sanitize user input or validate a given URL scheme. Additionally, it does not properly pass command-line flags to the git binary using the double-dash POSIX characters (--) to communicate the end of options.
Recommendations
For all versions, as a temporary workaround, consider disabling the clone() API until a patch is available. Restrict access to the clone functionality to minimize the risk of exploitation. Avoid using the clone() API with untrusted input until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Argument Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Ggit