CVE-2024-21531
published medium CVSS 3.1 · 5.3git-shallow-clone vulnerability
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | git-shallow-clone | 0 and later (affected · semver) | snyk · cna |
| git | git-shallow-clone | 0 and later (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-78 Command injection
References
2Provider assertions
2snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 17d468d7eb58a177a9a073b2de1e4e4f438ab8bac2ccd4aed4523aac1baf7304
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record