CVE-2021-29941Published Apr 1, 2021 · Apr 1Updated Jun 17
the reorder crate through 2021-02-24 for Rust. swap_index has an out-of-bounds write if an iterator returns a len() that
High7.3
The Rust reorder crate has an out-of-bounds write in swap_index when an iterator reports a len() that is too small. An attacker who can cause swap_index to process such an iterator may trigger the write; the input does not specify network access, authentication requirements, or user interaction.
Engineers using the Rust reorder crate as of 2021-02-24 should check whether their code calls swap_index with iterators that can report an undersized len().