Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rust-Lang | Rust | < 1.52.0 |
| Fedoraproject | Fedora | 32 |
Related Weaknesses (CWE)
References
- https://github.com/rust-lang/rust/issues/80335PatchThird Party Advisory
- https://github.com/rust-lang/rust/pull/81728PatchThird Party Advisory
- https://github.com/rust-lang/rust/pull/81728#issuecomment-821549174PatchThird Party Advisory
- https://github.com/rust-lang/rust/pull/81728#issuecomment-824904190PatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://github.com/rust-lang/rust/issues/80335PatchThird Party Advisory
- https://github.com/rust-lang/rust/pull/81728PatchThird Party Advisory
- https://github.com/rust-lang/rust/pull/81728#issuecomment-821549174PatchThird Party Advisory
- https://github.com/rust-lang/rust/pull/81728#issuecomment-824904190PatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
FAQ
What is CVE-2020-36323?
CVE-2020-36323 is a vulnerability with a CVSS score of 8.2 (HIGH). 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 af...
How severe is CVE-2020-36323?
CVE-2020-36323 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-36323?
Check the references section above for vendor advisories and patch information. Affected products include: Rust-Lang Rust, Fedoraproject Fedora.