In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a bug that pops the same element more than once under certain condition. This bug could result in a use-after-free or double free.
The product calls free() twice on the same memory address.
Link | Tags |
---|---|
https://github.com/rust-lang/rust/issues/79808 | issue tracking patch exploit third party advisory |
https://github.com/rust-lang/rust/pull/79814 | third party advisory patch |