OS command injection in git-shallow-clone
Priority MEDIUM 57CWE-78Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00954 61st percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | git-shallow-clone | all versions | — | No fix listed | CNA |
| — | git-shallow-clone (npm) | up to 0.0.2 | — | No fix listed | GHSA-qwrq-vxvw-537r |
- git-shallow-clone Vendor— Affected all versions Fixed in — No fix listed CNA
- git-shallow-clone (npm) Vendor— Affected up to 0.0.2 Fixed in — No fix listed GHSA-qwrq-vxvw-537r
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-21531
- 2026-10-03 Alias added: GHSA-qwrq-vxvw-537r
References
Sources
- CVE-2024-21531 · CVE Program
- CVE-2024-21531 · NVD
- FIRST EPSS
- GHSA-qwrq-vxvw-537r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences