Affected versions
Ubuntu20.04:LTS/rustc
- Affected versions
- <1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2
- Fixed version
- 1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2
UbuntuPro:14.04:LTS/rustc
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/rustc
- Affected versions
- *
- Fixed version
- Not reported
Description
In the standard library in Rust before 1.51.0, the Zip implementation calls __iterator_get_unchecked() for the same index more than once when nested. This bug can lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.

