synced 11 MIN AGO
01 Record

CVE-2024-21531

All versions of the package git-shallow-clone are vulnerable to Command injection due to missing sanitization or mitigation flags in the process variable of the gitShallowClone function.

MediumPUBLISHEDCNA: snyk
CNA base score5.3 CVSS v3.xCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P

02 Description

All versions of the package git-shallow-clone are vulnerable to Command injection due to missing sanitization or mitigation flags in the process variable of the gitShallowClone function.

03 Exploitation and scoring

Exploitation
Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
SSVC decision
  • ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.95% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 61.2% of scored records. A rank, not a probability.
NVD base score
5.3 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD analysis status
Deferred. NVD last modified this record on 2026-06-17.
Red Hat severity
No Red Hat rating. Red Hat rates the CVEs that affect its products.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-10-01 05:00Z2 YR AGO
Last updated
2024-11-07 15:26Z1 YR AGO
Reserved
2023-12-22
Assigning CNA
snyk
Record state
PUBLISHED
Severity
Medium (CVSS 5.3)
CNA CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P
Weaknesses
  • CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')Base
Data version
5.1
Document digest
340f9b9fbfa3a0c5ac1848d0e2586dfbdb6756d8c4ebc1bf25ee57e80966cc3b

05 Affected products

VendorProductVersionsPlatforms
n/agit-shallow-clone0 to < *—
gitgit-shallow-clone0 to < *—

06 References