hoch8.1
CVE-2020-36451
Data races in rcu_cell
Auswirkung
Affected versions of this crate unconditionally implement Send/Sync for `RcuCell<T>`. This allows users to send `T: !Send` to other threads (while `T` enclosed within `RcuCell<T>`), and allows users to concurrently access `T: !Sync` by using the APIs of `RcuCell<T>` that provide access to `&T`. This can result in memory corruption caused by data races.
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 | rcu_cell | < 0.1.9 | 0.1.9 |
Betroffene Produkte · Rcu Cell Project
| Produkt | Betroffene Versionen |
|---|---|
| Rcu Cell | bis einschließlich 2020-11-14 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/rcu_cell/RUSTSEC-2020-0131.md
- https://rustsec.org/advisories/RUSTSEC-2020-0131.html
- https://github.com/advisories/GHSA-686h-j8r8-wmfm
- https://nvd.nist.gov/vuln/detail/CVE-2020-36451
- https://github.com/Xudong-Huang/rcu_cell/issues/3
- https://github.com/Xudong-Huang/rcu_cell/pull/4
- https://github.com/Xudong-Huang/rcu_cell/pull/4/commits/1faf18eee11f14969b77ae0f76dcd9ebd437d0c2