Affected versions
Ubuntu20.04:LTS/rustc
- Affected versions
- <1.53.0+dfsg1+llvm-4ubuntu1~20.04.1
- Fixed version
- 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1
Ubuntu22.04:LTS/rustc
- Affected versions
- <1.53.0+dfsg1+llvm-4ubuntu1
- Fixed version
- 1.53.0+dfsg1+llvm-4ubuntu1
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.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.

