kritisch9.8
CVE-2020-36432
Use of Uninitialized Resource in alg_ds
Auswirkung
An issue was discovered in the alg_ds crate through 2020-08-25 for Rust. `Matrix::new()` internally calls `Matrix::fill_with()` which uses `*ptr = value` pattern to initialize the buffer. This pattern assumes that there is an initialized struct at the address and drops it, which results in dropping of uninitialized struct.
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 | alg_ds | <= 0.3.1 | nicht erfasst |
Betroffene Produkte · Alg Ds Project
| Produkt | Betroffene Versionen |
|---|---|
| Alg Ds | bis einschließlich 2020-08-25 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/alg_ds/RUSTSEC-2020-0033.md
- https://rustsec.org/advisories/RUSTSEC-2020-0033.html
- https://github.com/advisories/GHSA-3vv3-frrq-6486
- https://nvd.nist.gov/vuln/detail/CVE-2020-36432
- https://gitlab.com/dvshapkin/alg-ds/-/issues/1