CVE-2020-36323
published 2021-04-14CVE-2020-36323: 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…
PriorityP338high8.2CVSS 3.1
AVNACLPRNUINSUCLINAH
EPSS
2.02%
78.7th percentile
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
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | rustc | < rustc 1.53.0+dfsg1-1 (bookworm) | rustc 1.53.0+dfsg1-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cm1_rust_1.47.0-3_on_cbl_mariner_1.0 | — | — |
| rust-lang | rust | < 1.52.0 | 1.52.0 |
CVSS provenance
nvdv3.18.2HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:P
osv8.2HIGH
vendor_debian8.2HIGH
vendor_msrc8.2HIGH
vendor_redhat8.2HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-9v8g-q8xx-7374: In the standard library in Rust before 1
ghsa_unreviewed·2022-05-24
CVE-2020-36323 [HIGH] CWE-134 GHSA-9v8g-q8xx-7374: In the standard library in Rust before 1
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.
OSV
CVE-2020-36323: In the standard library in Rust before 1
osv·2021-04-14·CVSS 8.2
CVE-2020-36323 [HIGH] CVE-2020-36323: In the standard library in Rust before 1
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.
Microsoft
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 aft
vendor_msrc·2021-04-13·CVSS 8.2
CVE-2020-36323 [HIGH] CWE-134 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 aft
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is ident
Red Hat
rust: optimization for joining strings can cause uninitialized bytes to be exposed
vendor_redhat·2020-12-23·CVSS 8.2
CVE-2020-36323 [HIGH] CWE-20 rust: optimization for joining strings can cause uninitialized bytes to be exposed
rust: optimization for joining strings can cause uninitialized bytes to be exposed
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.
Package: rust (Red Hat Enterprise Linux 9) - Not affected
Debian
CVE-2020-36323: rustc - In the standard library in Rust before 1.52.0, there is an optimization for join...
vendor_debian·2020·CVSS 8.2
CVE-2020-36323 [HIGH] CVE-2020-36323: rustc - In the standard library in Rust before 1.52.0, there is an optimization for join...
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.
Scope: local
bookworm: resolved (fixed in 1.53.0+dfsg1-1)
bullseye: open
forky: resolved (fixed in 1.53.0+dfsg1-1)
sid: resolved (fixed in 1.53.0+dfsg1-1)
trixie: resolved (fixed in 1.53.0+dfsg1-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/rust-lang/rust/issues/80335https://github.com/rust-lang/rust/pull/81728https://github.com/rust-lang/rust/pull/81728#issuecomment-821549174https://github.com/rust-lang/rust/pull/81728#issuecomment-824904190https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZG65GUW6Z2CYOQHF7T3TB5CZKIX6ZJE/https://github.com/rust-lang/rust/issues/80335https://github.com/rust-lang/rust/pull/81728https://github.com/rust-lang/rust/pull/81728#issuecomment-821549174https://github.com/rust-lang/rust/pull/81728#issuecomment-824904190https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZG65GUW6Z2CYOQHF7T3TB5CZKIX6ZJE/
2021-04-14
Published