---
cve: "CVE-2022-24437"
severity: "CRITICAL"
cvss: 9.8
epss: "3.7%"
vendor: "n/a"
kev: false
exploited: false
published: "2022-05-01 16:15:08"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-10-10T04:46:09+02:00"
---

# CVE-2022-24437

> 9.8 CRITICAL · 🧪 PoC

## Beschreibung

The package git-pull-or-clone before 2.0.2 are vulnerable to Command Injection due to the use of the --upload-pack feature of git which is also supported for git clone. The source includes the use of the secure child process API spawn(). However, the outpath parameter passed to it may be a command-line argument to the git clone command and result in arbitrary command injection.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- 7c99adeaea03aeb31631d71037fd792db0bfdc83 (Commit)
- f9ce092be13cc32e685dfa26e7705e9c6e3108a3 (Commit)

## Referenzen

- <https://snyk.io/vuln/SNYK-JS-GITPULLORCLONE-2434307>
- <https://gist.github.com/lirantal/327e9dd32686991b5a1fa6341aac2e7b>
- <https://github.com/feross/git-pull-or-clone/commit/f9ce092be13cc32e685dfa26e7705e9c6e3108a3>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/sicherheitsluecken/cve-2022-24437/) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI WID (CSAF)_
