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.
Metrics
CVSS 3.1 8.2/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- Apr 14, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified