CWE
415 416
Advisory Published
Updated

CVE-2020-36318: Double Free

First published: Sun Apr 11 2021(Updated: )

In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a bug that pops the same element more than once under certain condition. This bug could result in a use-after-free or double free.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Rust-lang Rust>=1.48.0<1.49.0

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-36318?

    CVE-2020-36318 is a vulnerability in the standard library in Rust before version 1.49.0, which can result in a use-after-free or double free.

  • How severe is CVE-2020-36318?

    CVE-2020-36318 has a severity score of 9.8 (critical).

  • How does CVE-2020-36318 affect Rust?

    CVE-2020-36318 affects Rust versions before 1.49.0.

  • What is the CWE ID of CVE-2020-36318?

    CVE-2020-36318 is associated with CWE IDs 416 and 415.

  • How can I mitigate CVE-2020-36318?

    To mitigate CVE-2020-36318, it is recommended to update Rust to version 1.49.0 or later.

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