CVE-2020-36444
Data races in async-coap
Auswirkung
An issue was discovered in the async-coap crate through 2020-12-08 for Rust. Affected versions of this crate implement Send/Sync for `ArcGuard<RC, T>` with no trait bounds on `RC`. This allows users to send `RC: !Send` to other threads and also allows users to concurrently access `Rc: !Sync` from multiple threads. This can result in memory corruption from data race or other undefined behavior caused by sending `T: !Send` to other threads (e.g. dropping `MutexGuard<T>` in another thread that didn't lock its mutex).
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 | async-coap | <= 0.1.0 | nicht erfasst |
Betroffene Produkte · Async-coap Project
| Produkt | Betroffene Versionen |
|---|---|
| Async-coap | bis einschließlich 2020-12-08 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/async-coap/RUSTSEC-2020-0124.md
- https://rustsec.org/advisories/RUSTSEC-2020-0124.html
- https://github.com/advisories/GHSA-9j8q-m9x5-9g6j
- https://nvd.nist.gov/vuln/detail/CVE-2020-36444
- https://github.com/google/rust-async-coap/issues/33