What’s Vulnerable › Vulnerabilities

CVE-2020-36323

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.

Affected products

How to fix

Upgrade to a fixed version: rust-lang rust 1.52.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-36323 or the next vulnerability affects your stack