{"id":"RUSTSEC-2020-0021","summary":"rio allows a use-after-free buffer access when a future is leaked","details":"When a `rio::Completion` is leaked, its drop code will not run. The drop code\nis responsible for waiting until the kernel completes the I/O operation into, or\nout of, the buffer borrowed by `rio::Completion`. Leaking the struct will allow\none to access and/or drop the buffer, which can lead to a use-after-free,\ndata races or leaking secrets.\n\nUpstream is not interested in fixing the issue.","aliases":["CVE-2020-35876","GHSA-8rc5-mr4f-m243"],"modified":"2023-11-08T04:03:37.009424Z","published":"2020-05-11T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/rio"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0021.html"},{"type":"REPORT","url":"https://github.com/spacejam/rio/issues/11"}],"affected":[{"package":{"name":"rio","ecosystem":"crates.io","purl":"pkg:cargo/rio"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"functions":[],"arch":[],"os":[]}},"database_specific":{"categories":["memory-corruption","memory-exposure"],"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0021.json","cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","informational":null}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}