CVE-2020-36323

rust: optimization for joining strings can cause uninitialized bytes to be exposed

Published Apr 14, 2021 CVSS 3.1 · 8.2 High EPSS 2.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-23862 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
Type Values Removed Values Added
Metrics epss

{'score': 0.00105}

epss

{'score': 0.00709}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 5:23 PM
Reserved
Apr 14, 2021, 12:00 AM
Status
Modified
Published
Apr 14, 2021, 7:15 AM
Modified
Jun 17, 2026, 3:15 AM
Severity
Moderate
Public date
Dec 23, 2020, 12:00 AM