CVE-2024-21531
JSON

5.3medium

git-shallow-clone Argument Injection vulnerability

Severity
5.3medium CVSS:3.1 by snyk
Exploit likelihood
0.95% (higher than 62% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-qwrq-vxvw-537r

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

Product or packageVersionsReported by
git-shallow-clonebefore *CVE List
git git-shallow-clonebefore *CVE List
git-shallow-clone (npm)up to 0.0.2GitHub Advisory Database

All scores

snyk5.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Classification

CWE-78CWE-88

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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

NVD (es)

Todas las versiones del paquete git-shallow-clone son vulnerables a la inyección de comandos debido a la falta de indicadores de saneamiento o mitigación en la variable de proceso de la función gitShallowClone.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-21531 changed 2024-11-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-qwrq-vxvw-537r changed 2024-11-07CC-BY-4.0
NVDCVE-2024-21531 changed 2026-06-17Public domain