CWE
401 119
Advisory Published
Updated

CVE-2020-15254: Undefined Behavior in bounded Crossbeam channel

First published: Fri Oct 16 2020(Updated: )

Crossbeam is a set of tools for concurrent programming. In crossbeam-channel before version 0.4.4, the bounded channel incorrectly assumes that `Vec::from_iter` has allocated capacity that same as the number of iterator elements. `Vec::from_iter` does not actually guarantee that and may allocate extra memory. The destructor of the `bounded` channel reconstructs `Vec` from the raw pointer based on the incorrect assumes described above. This is unsound and causing deallocation with the incorrect capacity when `Vec::from_iter` has allocated different sizes with the number of iterator elements. This has been fixed in crossbeam-channel 0.4.4.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Crossbeam Project Crossbeam<0.4.4
Mozilla Firefox<82
82
<82
82

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.

Parent vulnerabilities

(Appears in the following advisories)

Peer vulnerabilities

(Found alongside the following vulnerabilities)

Frequently Asked Questions

  • What is the vulnerability ID?

    The vulnerability ID is CVE-2020-15254.

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

    The severity of CVE-2020-15254 is high.

  • Which software is affected by CVE-2020-15254?

    Mozilla Firefox up to version 82 is affected by CVE-2020-15254.

  • How can I fix CVE-2020-15254?

    To fix CVE-2020-15254, update Mozilla Firefox to version 82 or above.

  • Where can I find more information about CVE-2020-15254?

    You can find more information about CVE-2020-15254 at the following references: [Bugzilla](https://bugzilla.mozilla.org/show_bug.cgi?id=1668514), [GitHub Security Advisory](https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-v5m7-53cv-f3hx), [Mozilla Security Advisories](https://www.mozilla.org/en-US/security/advisories/mfsa2020-45/).

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