RCE in Git-Shallow-Clone

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.009 (58.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.

Affected products

  • N/a Git-shallow-clone — versions 0

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-21531?
CVE-2024-21531 is a medium-severity vulnerability in Git-Shallow-Clone, classified under OS Command Injection. CVSS score: 5.3/10. Published 2024-10-01.
How severe is CVE-2024-21531?
Medium severity. CVSS v3 base score is 5.3 out of 10.
Is CVE-2024-21531 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.