kritisch9.8
CVE-2021-45705
Pointer dereference in nanorand
Auswirkung
An issue was discovered in the nanorand crate before 0.6.1 for Rust. There can be multiple mutable references to the same object because the TlsWyRand Deref implementation dereferences a raw pointer.
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 | nanorand | >= 0.5.0, < 0.6.1 | 0.6.1 |
Betroffene Produkte · Nanorand Project
| Produkt | Betroffene Versionen |
|---|---|
| Nanorand | ab 0.5.0 vor 0.6.1 |
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nanorand/RUSTSEC-2021-0114.md
- https://rustsec.org/advisories/RUSTSEC-2021-0114.html
- https://github.com/advisories/GHSA-r57r-j98g-587f
- https://nvd.nist.gov/vuln/detail/CVE-2021-45705
- https://github.com/Absolucy/nanorand-rs/issues/28