CVE-2020-36460
Data races in model
Auswirkung
`Shared` data structure in `model` crate implements `Send` and `Sync` traits regardless of the inner type. This allows safe Rust code to trigger a data race, which is undefined behavior in Rust. Users are advised to treat `Shared` as an unsafe type. It should not be used outside of the testing context, and care must be taken so that the testing code does not have a data race besides a race condition that is expected to be caught by the test.
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, 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 | model | <= 0.1.2 | nicht erfasst |
Betroffene Produkte · Model Project
| Produkt | Betroffene Versionen |
|---|---|
| Model | bis einschließlich 2020-11-10 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/model/RUSTSEC-2020-0140.md
- https://rustsec.org/advisories/RUSTSEC-2020-0140.html
- https://github.com/advisories/GHSA-mxv6-q98x-h958
- https://nvd.nist.gov/vuln/detail/CVE-2020-36460
- https://github.com/spacejam/model/issues/3