Out-of-Bounds The advisory has been revoked - it doesn't affect any version of package rust-crossbeam-channel  (opens in a new tab)


Threat Intelligence

EPSS
2.7% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN10-RUSTCROSSBEAMCHANNEL-1019438
  • published20 Oct 2020
  • disclosed16 Oct 2020

Introduced: 16 Oct 2020

CVE-2020-15254  (opens in a new tab)
CWE-119  (opens in a new tab)

Amendment

The Debian security team deemed this advisory irrelevant for Debian:10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-crossbeam-channel package and not the rust-crossbeam-channel package as distributed by Debian.

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.