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.
{
"binaries": [
{
"binary_name": "libstd-rust-1.31",
"binary_version": "1.31.0+dfsg1+llvm-2ubuntu1~14.04.1"
},
{
"binary_name": "libstd-rust-dev",
"binary_version": "1.31.0+dfsg1+llvm-2ubuntu1~14.04.1"
},
{
"binary_name": "rust-gdb",
"binary_version": "1.31.0+dfsg1+llvm-2ubuntu1~14.04.1"
},
{
"binary_name": "rust-lldb",
"binary_version": "1.31.0+dfsg1+llvm-2ubuntu1~14.04.1"
},
{
"binary_name": "rust-src",
"binary_version": "1.31.0+dfsg1+llvm-2ubuntu1~14.04.1"
},
{
"binary_name": "rustc",
"binary_version": "1.31.0+dfsg1+llvm-2ubuntu1~14.04.1"
}
]
}
{
"binaries": [
{
"binary_name": "libstd-rust-1.47",
"binary_version": "1.47.0+dfsg1+llvm-1ubuntu1~16.04.1"
},
{
"binary_name": "libstd-rust-dev",
"binary_version": "1.47.0+dfsg1+llvm-1ubuntu1~16.04.1"
},
{
"binary_name": "rust-gdb",
"binary_version": "1.47.0+dfsg1+llvm-1ubuntu1~16.04.1"
},
{
"binary_name": "rust-lldb",
"binary_version": "1.47.0+dfsg1+llvm-1ubuntu1~16.04.1"
},
{
"binary_name": "rust-src",
"binary_version": "1.47.0+dfsg1+llvm-1ubuntu1~16.04.1"
},
{
"binary_name": "rustc",
"binary_version": "1.47.0+dfsg1+llvm-1ubuntu1~16.04.1"
}
]
}
{
"binaries": [
{
"binary_name": "libstd-rust-1.53",
"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-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": "rustfmt",
"binary_version": "1.53.0+dfsg1+llvm-4ubuntu1~20.04.1"
}
],
"availability": "No subscription required"
}
{
"binaries": [
{
"binary_name": "libstd-rust-1.53",
"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-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": "rustfmt",
"binary_version": "1.53.0+dfsg1+llvm-4ubuntu1"
}
],
"availability": "No subscription required"
}