{"id":"CVE-2020-35876","aliases":["CVE-2020-35876","GHSA-8rc5-mr4f-m243","RUSTSEC-2020-0021"],"related":[],"kind":"vulnerability","state":"published","title":"Use after free in rio","summary":"An issue was discovered in the rio crate through 2020-05-11 for Rust. A struct can be leaked, allowing attackers to obtain sensitive information, cause a use-after-free, or cause a data race.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the rio crate through 2020-05-11 for Rust. A struct can be leaked, allowing attackers to obtain sensitive information, cause a use-after-free, or cause a data race.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate rio hasta el 11-05-2020 para Rust.&#xa0;Una estructura puede ser filtrada, permitiendo a atacantes obtener información confidencial, causando un uso de la memoria previamente liberada o causar una carrera de datos.","source":"nvd"}],"published":"2020-05-11T12:00:00.000Z","modified":"2026-06-17T03:14:30.930Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-416","CWE-772"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.9.4"}],"ecosystem":"crates.io","package":"rio","purl":"pkg:cargo/rio","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"rio","purl":"pkg:cargo/rio","source":"rustsec"},{"ranges":[{"status":"affected","lastAffected":"0.9.3"}],"vendor":"rio_project","product":"rio","cpe":"cpe:2.3:a:rio_project:rio:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0021.html","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35876","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spacejam/rio/issues/11","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/spacejam/rio/pull/31","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spacejam/rio","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/rio","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35876","url":"https://www.cve.org/CVERecord?id=CVE-2020-35876","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:13.166Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8rc5-mr4f-m243","url":"https://github.com/advisories/GHSA-8rc5-mr4f-m243","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:37.009Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0021","url":"https://rustsec.org/advisories/RUSTSEC-2020-0021.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:37.009Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35876","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35876","licence":"Public domain","modified":"2026-06-17T03:14:30.930Z"}],"updatedAt":"2026-11-25T22:57:56.685Z","epss":{"score":0.0156,"percentile":0.75964,"date":"2026-12-01T12:00:22.000Z"}}