kritisch9.8
CVE-2020-36434
Double free in sys-info
Auswirkung
Affected versions of sys-info use a static, global, list to store temporary disk information while running. The function that cleans up this list, DFCleanup, assumes a single threaded environment and will try to free the same memory twice in a multithreaded environment. This results in consistent double-frees and segfaults when calling sys_info::disk_info from multiple threads at once. The issue was fixed by moving the global variable into a local scope.
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 | sys-info | < 0.8.0 | 0.8.0 |
Betroffene Produkte · Sys-info Project
| Produkt | Betroffene Versionen |
|---|---|
| Sys-info | vor 0.8.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/sys-info/RUSTSEC-2020-0100.md
- https://rustsec.org/advisories/RUSTSEC-2020-0100.html
- https://github.com/advisories/GHSA-2f5j-3mhq-xv58
- https://nvd.nist.gov/vuln/detail/CVE-2020-36434
- https://github.com/FillZpp/sys-info-rs/issues/63