CVE-2020-15254

EUVD-2021-1883
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
8.1 HIGH
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_MCNA
8.1 HIGH
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 65%
Affected Products (NVD)
VendorProductVersion
crossbeam_projectcrossbeam
𝑥
< 0.4.4
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
firefox
sid
132.0.1-1
fixed
rust-crossbeam-channel
bookworm
0.5.6-1
fixed
bullseye
0.4.4-1
fixed
sid
0.5.11-1
fixed
trixie
0.5.11-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
firefox
bionic
Fixed 82.0+build2-0ubuntu0.18.04.1
released
focal
Fixed 82.0+build2-0ubuntu0.20.04.1
released
groovy
Fixed 82.0+build2-0ubuntu0.20.10.1
released
hirsute
Fixed 82.0.2+build1-0ubuntu1
released
impish
Fixed 82.0.2+build1-0ubuntu1
released
jammy
Fixed 82.0.2+build1-0ubuntu1
released
kinetic
Fixed 82.0.2+build1-0ubuntu1
released
lunar
Fixed 82.0.2+build1-0ubuntu1
released
mantic
Fixed 82.0.2+build1-0ubuntu1
released
noble
Fixed 82.0.2+build1-0ubuntu1
released
trusty
dne
xenial
Fixed 82.0+build2-0ubuntu0.16.04.5
released
mozjs38
bionic
ignored
focal
dne
groovy
dne
hirsute
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
mozjs52
bionic
ignored
focal
ignored
groovy
ignored
hirsute
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
mozjs60
bionic
dne
focal
dne
groovy
dne
hirsute
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
mozjs68
bionic
dne
focal
ignored
groovy
ignored
hirsute
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
rust-crossbeam
bionic
dne
focal
needs-triage
groovy
dne
hirsute
ignored
impish
ignored
jammy
needs-triage
kinetic
ignored
lunar
ignored
mantic
ignored
noble
needs-triage
trusty
dne
xenial
dne