PT-2020-17557
CVE-2020-35925
·
Published
2020-11-29
·
Updated
2021-08-25
Description by
CVSS 3.1
5.5
MediumMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
magnetic crate versions prior to 2.0.1
Description
An issue in the magnetic crate allows cross-thread sending of a non-Send type, which can cause a data race. The affected versions unconditionally implemented Sync and Send traits for MPMCConsumer and MPMCProducer types, enabling users to send types that do not implement the Send trait across thread boundaries.
Recommendations
For versions prior to 2.0.1, update to version 2.0.1 or later, which includes the correction by adding the T: Send bound to affected Sync/Send trait implementations. As a temporary workaround, consider avoiding the use of MPMCConsumer and MPMCProducer types to send non-Send types across thread boundaries until the update is applied.
Found an issue in the description? Have something to add? Feel free to write us 👾