kritisch9.8
CVE-2020-35895
Out-of-bounds write in stack
Auswirkung
ArrayVec::insert allows insertion of an element into the array object into the specified index. Due to a missing check on the upperbound of this index, it is possible to write out of bounds.
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 | stack | < 0.3.1 | 0.3.1 |
Betroffene Produkte · Stack Project
| Produkt | Betroffene Versionen |
|---|---|
| Stack | vor 0.3.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://rustsec.org/advisories/RUSTSEC-2020-0042.html
- https://github.com/advisories/GHSA-h45v-vgvp-3h5v
- https://nvd.nist.gov/vuln/detail/CVE-2020-35895
- https://github.com/arcnmx/stack-rs/issues/4
- https://github.com/arcnmx/stack-rs/commit/369e55736f9bd29c37b1712afc2923f4028148c6