8.2
CWE
134
Advisory Published
Updated

CVE-2020-36323

First published: Wed Apr 14 2021(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Rust-lang Rust<1.52.0
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Fedoraproject Fedora=34

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2020-36323?

    CVE-2020-36323 is a vulnerability in the Rust standard library before version 1.52.0 that can cause uninitialized bytes to be exposed or the program to crash if the borrowed string changes after its length is checked.

  • How does CVE-2020-36323 affect Rust?

    CVE-2020-36323 affects Rust versions before 1.52.0 by introducing an optimization for joining strings that can lead to uninitialized bytes being exposed or potentially crashing the program.

  • What is the severity of CVE-2020-36323?

    CVE-2020-36323 has a severity rating of 8.2 (high).

  • How can I fix CVE-2020-36323?

    To fix CVE-2020-36323, update Rust to version 1.52.0 or later.

  • Are there any references for CVE-2020-36323?

    Yes, you can find more information about CVE-2020-36323 at the following references: [GitHub Issue](https://github.com/rust-lang/rust/issues/80335), [Pull Request](https://github.com/rust-lang/rust/pull/81728), [Comment](https://github.com/rust-lang/rust/pull/81728#issuecomment-821549174).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203