mittel5.9
CVE-2020-36469
Data races in appendix
Auswirkung
The `appendix` crate implements a key-value mapping data structure called `Index<K, V>` that is stored on disk. The crate allows for any type to inhabit the generic `K` and `V` type parameters and implements Send and Sync for them unconditionally. Using a type that is not marked as `Send` or `Sync` with `Index` can allow it to be used across multiple threads leading to data races. Additionally using reference types for the keys or values will lead to the segmentation faults in the crate's code.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rust | appendix | <= 0.2.0 | nicht erfasst |
Betroffene Produkte · Appendix Project
| Produkt | Betroffene Versionen |
|---|---|
| Appendix | bis einschließlich 2020-11-15 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/appendix/RUSTSEC-2020-0149.md
- https://rustsec.org/advisories/RUSTSEC-2020-0149.html
- https://github.com/advisories/GHSA-fvhr-7j8m-3cvc
- https://nvd.nist.gov/vuln/detail/CVE-2020-36469
- https://github.com/krl/appendix/issues/6