CVE-2024-21531
MEDIUMCVSS 5.3/10EPSS 0.94%
Last modified
CVE-2024-21531 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 0.94% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is 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.
How severe is CVE-2024-21531?
CVE-2024-21531 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 0.94% probability of exploitation in the next 30 days.
How do I fix CVE-2024-21531?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-21526All versions of the package speaker are vulnerable to Denial…7.5
- CVE-2024-21527Versions of the package github.com/gotenberg/gotenberg/v8/pk…8.2
- CVE-2024-21528All versions of the package node-gettext are vulnerable to P…5.9
- CVE-2024-21529Versions of the package dset before 3.1.4 are vulnerable to …8.8
- CVE-2024-2153A vulnerability, which was classified as critical, was found…9.8
- CVE-2024-21530Versions of the package cocoon before 0.4.0 are vulnerable t…4.5
- CVE-2024-21532All versions of the package ggit are vulnerable to Command I…7.3
- CVE-2024-21533All versions of the package ggit are vulnerable to Arbitrary…6.5
- CVE-2024-21534All versions of the package jsonpath-plus are vulnerable to …9.8
- CVE-2024-21535Versions of the package markdown-to-jsx before 7.4.0 are vul…6.1
- CVE-2024-21536Versions of the package http-proxy-middleware before 2.0.7, …7.5
- CVE-2024-21537Versions of the package lilconfig from 3.1.0 and before 3.1.…8.9
Are you affected by CVE-2024-21531?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
