NetSight
kritisch9.8

CVE-2023-40267

GitPython vulnerable to remote code execution due to insufficient sanitization of input arguments

Auswirkung

GitPython before 3.1.32 does not block insecure non-multi options in `clone` and `clone_from`, making it vulnerable to Remote Code Execution (RCE) due to improper user input validation, which makes it possible to inject a maliciously crafted remote URL into the clone command. Exploiting this vulnerability is possible because the library makes external calls to git without sufficient sanitization of input arguments. NOTE: this issue exists because of an incomplete fix for CVE-2022-24439.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
pipGitPython< 3.1.323.1.32

Betroffene Produkte · Gitpython Project

ProduktBetroffene Versionen
Gitpython
vor 3.1.32

Schwachstellenklasse

Referenzen