
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-21531 affects all versions of the git-shallow-clone package. The vulnerability was discovered and disclosed by Liran Tal from the Snyk Research Team on January 31, 2023, and was published on September 30, 2024. This security issue involves a Command Injection vulnerability due to missing sanitization or mitigation flags in the process variable of the gitShallowClone function (Snyk Advisory).
The vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command) with a CVSS v3.1 Base Score of 5.3 MEDIUM. The attack vector is Local (AV:L), with Low attack complexity (AC:L), requiring Low privileges (PR:L), and No user interaction (UI:N). The scope is Unchanged (S:U) with Low impact on Confidentiality (C:L), Integrity (I:L), and Availability (A:L) (Snyk Advisory).
The vulnerability allows an attacker with local access and low-level privileges to potentially execute arbitrary commands through command injection. This could lead to unauthorized access, data manipulation, or system compromise with limited impact on confidentiality, integrity, and availability of the affected system (Snyk Advisory).
Currently, there is no fixed version available for the git-shallow-clone package. Users are advised to assess their risk and consider alternative solutions or implementing additional security controls to prevent command injection attacks (Snyk Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."