Vulnerability · Published Oct 1, 2024 · Assigned by snyk

CVE-2024-21531

Medium 5.3

In plain English

A medium-severity OS command injection in git-shallow-clone. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities).

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.0%top 38.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmgit-shallow-cloneno fix listedGHSA-qwrq-vxvw-537r

Affected products (as reported)

VendorProductVersions
n/a git-shallow-clone 0 – before *

Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P

References