In the standard library in Rust before 1.50.3, there is...
High severity
Unreviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Apr 11, 2024
Description
Published by the National Vulnerability Database
Apr 14, 2021
Published to the GitHub Advisory Database
May 24, 2022
Last updated
Apr 11, 2024
In the standard library in Rust before 1.50.3, 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.
References