{"id":"CVE-2020-36323","details":"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.","modified":"2026-07-07T08:51:20.066541703Z","published":"2021-04-14T07:15:12.087Z","database_specific":{"unresolved_ranges":[{"vendor_product":"fedoraproject:fedora","cpes":["cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"32"},{"last_affected":"32"},{"introduced":"33"},{"last_affected":"33"},{"introduced":"34"},{"last_affected":"34"}],"source":"CPE_STRING"}]},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZG65GUW6Z2CYOQHF7T3TB5CZKIX6ZJE/"},{"type":"FIX","url":"https://github.com/rust-lang/rust/issues/80335"},{"type":"FIX","url":"https://github.com/rust-lang/rust/pull/81728"},{"type":"FIX","url":"https://github.com/rust-lang/rust/pull/81728#issuecomment-821549174"},{"type":"FIX","url":"https://github.com/rust-lang/rust/pull/81728#issuecomment-824904190"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rust-lang/rust","events":[{"introduced":"0"},{"fixed":"88f19c6dab716c6281af7602e30f413e809c5974"}],"database_specific":{"cpe":"cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.52.0"}],"source":"CPE_RANGE"}}],"versions":["1.0.0-beta","1.0.0-alpha.2","1.0.0-alpha","0.9","0.8","release-0.7","0.7","release-0.6","0.6","release-0.5","0.5","release-0.4","0.4","release-0.2","0.2","release-0.1","0.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-36323.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"}]}