Vulnerabilities / CVE-2020-15254

critical

CVE-2020-15254

Mozilla: Undefined behavior in bounded channel of crossbeam rust crate

Published Modified CWE 119, 401
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high), Red Hat (high), Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.12firefox82.0-r0
alpine 3.13firefox82.0-r0
alpine 3.14firefox82.0-r0
alpine 3.15firefox82.0-r0
alpine 3.16firefox82.0-r0
alpine 3.17firefox82.0-r0
alpine 3.18firefox82.0-r0
alpine 3.19firefox82.0-r0
alpine 3.20firefox82.0-r0
alpine 3.21firefox, librewolf82.0-r0
alpine 3.22firefox, librewolf82.0-r0
alpine 3.23firefox, librewolf82.0-r0
Show all 34 entries from 31 sources
SourcePackageFixed in
alpine 3.12firefox82.0-r0
alpine 3.13firefox82.0-r0
alpine 3.14firefox82.0-r0
alpine 3.15firefox82.0-r0
alpine 3.16firefox82.0-r0
alpine 3.17firefox82.0-r0
alpine 3.18firefox82.0-r0
alpine 3.19firefox82.0-r0
alpine 3.20firefox82.0-r0
alpine 3.21firefox82.0-r0
alpine 3.21librewolf82.0-r0
alpine 3.22firefox82.0-r0
alpine 3.22librewolf82.0-r0
alpine 3.23firefox82.0-r0
alpine 3.23librewolf82.0-r0
alpine 3.24librewolf82.0-r0
alpine edgelibrewolf82.0-r0
cargo::GitHub Security Advisory Rustcrossbeam-channel0.4.4
ubuntu 16.04firefox82.0+build2-0ubuntu0.16.04.5
ubuntu 18.04firefox82.0+build2-0ubuntu0.18.04.1
ubuntu 20.04firefox82.0+build2-0ubuntu0.20.04.1
ubuntu 20.10firefox82.0+build2-0ubuntu0.20.10.1
ubuntu 21.04firefox82.0.2+build1-0ubuntu1
ubuntu 21.10firefox82.0.2+build1-0ubuntu1
ubuntu 22.04firefox82.0.2+build1-0ubuntu1
ubuntu 22.10firefox82.0.2+build1-0ubuntu1
ubuntu 23.04firefox82.0.2+build1-0ubuntu1
ubuntu 23.10firefox82.0.2+build1-0ubuntu1
ubuntu 24.04firefox82.0.2+build1-0ubuntu1
ubuntu 24.10firefox82.0.2+build1-0ubuntu1
ubuntu 25.04firefox82.0.2+build1-0ubuntu1
ubuntu 25.10firefox82.0.2+build1-0ubuntu1
ubuntu 26.04firefox82.0.2+build1-0ubuntu1
ubuntu 26.10firefox82.0.2+build1-0ubuntu1

References

All 12 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.