Impact
Versions of the degit package prior to 2.8.6 and pre‑3.3.1 allow an attacker to inject shell commands because user supplied repository names are concatenated into git commands executed via exec(). This flaw can result in arbitrary OS command execution as the process user, providing remote code execution capability.
Affected Systems
All projects using degit v2.x before 2.8.6 or v3.x releases before 3.3.1 are affected, including tooling that scaffolds or copies projects from Git repositories through the module. These dependencies include both direct usage and transitive dependencies in Node.js ecosystems.
Risk and Exploitability
The CVSS score of 8.7 indicates high severity. The EPSS score of 0.00069 suggests a very low probability of exploitation, and the vulnerability is not listed in CISA KEV. The likely vector is an attacker supplying a crafted repository name to degit during its operation, which may occur locally or remotely when deploying or building a project.
OpenCVE Enrichment