kritisch9.8
CVE-2021-3013
OS command injection in ripgrep
Auswirkung
ripgrep before 13 on Windows allows attackers to trigger execution of arbitrary programs from the current working directory via the -z/--search-zip or --pre flag.
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
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rust | ripgrep | < 13.0.0 | 13.0.0 |
| rust | grep-cli | < 0.1.6 | 0.1.6 |
Betroffene Produkte · Ripgrep Project
| Produkt | Betroffene Versionen |
|---|---|
| Ripgrep | vor 13.0.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/BurntSushi/ripgrep/blob/e48a17e1891e1ea9dd06ba0e48d5fb140ca7c0c4/CHANGELOG.md
- https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md
- https://github.com/advisories/GHSA-g4xg-fxmg-vcg5
- https://nvd.nist.gov/vuln/detail/CVE-2021-3013
- https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md#1300-2021-06-12
- https://rustsec.org/advisories/RUSTSEC-2021-0071.html
- https://github.com/BurntSushi/ripgrep/issues/1773