{"id":"CVE-2021-28032","published":"2021-03-05T08:40:02Z","modified":"2024-08-03T21:33:17Z","title":"An issue was discovered in the nano_arena crate before 0.5.2 for Rust","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue was discovered in the nano_arena crate before 0.5.2 for Rust. There is an aliasing violation in split_at because two mutable references can exist for the same element, if Borrow<Idx> behaves in certain ways. This can have a resultant out-of-bounds write or use-after-free.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01528,"percentile":0.75332,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0031.html","tags":["x_refsource_MISC"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":15.07}]},"affected":[{"ecosystem":"crates.io","package":"nano_arena","vulnerableRanges":["<0.5.2",">=0.0.0-0, <0.5.2"],"patched":["0.5.2"],"from":["GHSA-wp34-mqw5-jj85","RUSTSEC-2021-0031"],"provenance":"source"}],"summary":{"text":"The nano_arena Rust crate, before version 0.5.2, contains an aliasing flaw in its split_at function, where two mutable references can be created to the same element when the Borrow<Idx> implementation behaves in certain ways. An attacker able to supply or influence such a Borrow<Idx> implementation can trigger an out-of-bounds write or a use-after-free, and the exact conditions required (network access, authentication, user interaction, or configuration) are not specified in the available information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:49Z"},"euvd":{"id":"EUVD-2021-1918","exploited":false,"provenance":"source"}}