In the standard library in Rust before 1.52.0, the Zip implementation calls _iteratorgetunchecked() more than once for the same index (under certain conditions) when nextback() and next() are used together. This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1", "binary_name": "libstd-rust-1.53" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1", "binary_name": "libstd-rust-1.53-dbgsym" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1", "binary_name": "libstd-rust-dev" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1", "binary_name": "rust-all" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1", "binary_name": "rust-clippy" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1", "binary_name": "rust-clippy-dbgsym" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1", "binary_name": "rust-doc" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1", "binary_name": "rust-gdb" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1", "binary_name": "rust-lldb" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1", "binary_name": "rust-src" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1", "binary_name": "rustc" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1", "binary_name": "rustc-dbgsym" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1", "binary_name": "rustfmt" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1", "binary_name": "rustfmt-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1", "binary_name": "libstd-rust-1.53" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1", "binary_name": "libstd-rust-1.53-dbgsym" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1", "binary_name": "libstd-rust-dev" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1", "binary_name": "rust-all" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1", "binary_name": "rust-clippy" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1", "binary_name": "rust-clippy-dbgsym" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1", "binary_name": "rust-doc" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1", "binary_name": "rust-gdb" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1", "binary_name": "rust-lldb" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1", "binary_name": "rust-src" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1", "binary_name": "rustc" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1", "binary_name": "rustc-dbgsym" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1", "binary_name": "rustfmt" }, { "binary_version": "1.53.0+dfsg1+llvm-4ubuntu1", "binary_name": "rustfmt-dbgsym" } ] }