PT-2024-18945 · Unknown · Git-Shallow-Clone

Liran Tal

·

Published

2024-09-30

·

Updated

2024-10-04

·

CVE-2024-21531

CVSS v4.0

5.3

Medium

VectorAV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions git-shallow-clone versions all
Description The issue is related to command injection due to missing sanitization or mitigation flags in the process variable of the gitShallowClone function. This allows for potential argument injection. No information is provided about the estimated number of potentially affected devices or real-world incidents where this issue was exploited.
Recommendations For all versions, consider disabling the gitShallowClone function until a patch is available to prevent command injection. Restrict access to the process variable to minimize the risk of exploitation. Avoid using the process variable in the affected function 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

OS Command Injection

Weakness Enumeration

Related Identifiers

CVE-2024-21531
GHSA-QWRQ-VXVW-537R

Affected Products

Git-Shallow-Clone