CVE-2021-28878 log

Source
Severity Medium
Remote Yes
Type Incorrect calculation
Description
In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once for the same index (under certain conditions) when next_back() and next() are used together. This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.
Group Package Affected Fixed Severity Status Ticket
AVG-1801 rust 1:1.51.0-1 1:1.52.0-1 Medium Fixed
References
https://github.com/rust-lang/rust/issues/82291
https://github.com/rust-lang/rust/pull/82292
https://github.com/rust-lang/rust/commit/1d5b2dc945124c619ebb3641c096c063ca8ca1e5