{"id":"CVE-2020-36434","aliases":["RUSTSEC-2020-0100"],"url":"https://o3.security/vulnerability/CVE-2020-36434","summary":"Double free in sys-info ","details":"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.","published":"2021-08-25T20:58:15Z","modified":"2023-11-08T04:03:44.601087Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"sys-info","fixedVersion":"0.8.0"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36434"},{"type":"WEB","url":"https://github.com/FillZpp/sys-info-rs/issues/63"},{"type":"PACKAGE","url":"https://github.com/FillZpp/sys-info-rs"},{"type":"WEB","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/sys-info/RUSTSEC-2020-0100.md"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0100.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:03:44.601087Z"}}