In the standard library in Rust before 1.52.0, there is an optimization for joining strings that can cause uninitialized bytes to be exposed (or the program to crash) if the borrowed string changes after its length is checked.
{ "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" } ] }