NetSight
kritisch9.8

CVE-2022-25648

Command injection in ruby-git

Auswirkung

The package prior to v1.11.0 is vulnerable to Command Injection via git argument injection. When calling the `fetch(remote = 'origin', opts = {})` function, the remote parameter is passed to the `git fetch` subcommand in a way such that additional flags can be set. The additional flags can be used to perform a command injection.

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
rubygemsgit< 1.11.01.11.0

Betroffene Produkte

HerstellerProduktBetroffene Versionen
DebianDebian Linux
Version 10.0
FedoraprojectExtra Packages For Enterprise Linux
Version 8.0
FedoraprojectFedora
Versionen 34, 35, 36
GitGit
vor 1.11.0

Schwachstellenklasse

Referenzen