CVE-2020-15254

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2020-15254
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-15254.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-15254
Aliases
Related
Published
2020-10-16T17:15:12Z
Modified
2024-05-09T10:43:40.344772Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/crossbeam-rs/crossbeam

Affected ranges

Type
GIT
Repo
https://github.com/crossbeam-rs/crossbeam
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.2.10

crossbeam-0.*

crossbeam-0.5.0
crossbeam-0.6.0
crossbeam-0.7.0
crossbeam-0.7.1
crossbeam-0.7.2
crossbeam-0.7.3

crossbeam-channel-0.*

crossbeam-channel-0.3.1
crossbeam-channel-0.3.2
crossbeam-channel-0.3.3
crossbeam-channel-0.3.4
crossbeam-channel-0.3.5
crossbeam-channel-0.3.6
crossbeam-channel-0.3.7
crossbeam-channel-0.3.8
crossbeam-channel-0.3.9
crossbeam-channel-0.4.0
crossbeam-channel-0.4.2

crossbeam-deque-0.*

crossbeam-deque-0.6.2
crossbeam-deque-0.6.3
crossbeam-deque-0.7.0
crossbeam-deque-0.7.1
crossbeam-deque-0.7.2

crossbeam-epoch-0.*

crossbeam-epoch-0.6.1
crossbeam-epoch-0.7.0
crossbeam-epoch-0.7.1
crossbeam-epoch-0.7.2
crossbeam-epoch-0.8.0
crossbeam-epoch-0.8.2

crossbeam-queue-0.*

crossbeam-queue-0.1.0
crossbeam-queue-0.1.1
crossbeam-queue-0.1.2
crossbeam-queue-0.2.0
crossbeam-queue-0.2.1
crossbeam-queue-0.2.3

crossbeam-utils-0.*

crossbeam-utils-0.1.0
crossbeam-utils-0.6.0
crossbeam-utils-0.6.1
crossbeam-utils-0.6.2
crossbeam-utils-0.6.3
crossbeam-utils-0.6.4
crossbeam-utils-0.6.5
crossbeam-utils-0.6.6
crossbeam-utils-0.7.0
crossbeam-utils-0.7.2

v0.*

v0.0.0
v0.1.0
v0.1.1
v0.1.2
v0.1.3
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.2.6
v0.3.0
v0.3.1
v0.3.2
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.5.0
v0.5.1
v0.5.2
v0.6.0
v0.6.1