hoch7.8
CVE-2021-36753
Uncontrolled Search Path Element in sharkdp/bat
Auswirkung
bat on windows before 0.18.2 executes programs named less.exe from the current working directory. This can lead to unintended code execution.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, 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 | bat | < 0.18.2 | 0.18.2 |
Betroffene Produkte · Bat Project
| Produkt | Betroffene Versionen |
|---|---|
| Bat | vor 0.18.2 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/sharkdp/bat/commit/bf2b2df9c9e218e35e5a38ce3d03cffb7c363956
- https://github.com/sharkdp/bat/pull/1724
- https://github.com/sharkdp/bat/releases/tag/v0.18.2
- https://vuln.ryotak.me/advisories/53
- https://github.com/advisories/GHSA-p24j-h477-76q3
- https://nvd.nist.gov/vuln/detail/CVE-2021-36753
- https://rustsec.org/advisories/RUSTSEC-2021-0106.html