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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2021-04-14T06:10:09

Updated: 2024-08-04T17:23:10.528Z

Reserved: 2021-04-14T00:00:00

Link: CVE-2020-36323

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-04-14T07:15:12.087

Modified: 2023-11-07T03:22:14.470

Link: CVE-2020-36323

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-12-23T00:00:00Z

Links: CVE-2020-36323 - Bugzilla