PT-2024-18947

CVE-2024-21533

·

Published

2024-10-07

·

Updated

2024-10-10

Description by

CVSS 4.0
6.9
Medium
MetricsAV: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.
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-PR45-CG4X-FF4M
Found an issue in the description? Have something to add? Feel free to write us 👾