PT-2020-17590 · Rust · Buttplug
Published
2020-12-18
·
Updated
2021-08-25
·
CVE-2020-36218
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
buttplug crate versions prior to 1.0.4
Description
The issue arises from
ButtplugFutureStateShared not properly handling objects that do not implement Send or Sync, leading to potential data races and undefined behavior when moving non-Send types across thread boundaries or accessing non-Sync types from multiple threads. This can occur with types like Rc<T> for non-Send cases and Arc<Cell< >> for non-Sync cases.Recommendations
For buttplug crate versions prior to 1.0.4, update to version 1.0.4 or later to resolve the issue by allowing rustc to generate auto trait implementations with correct trait bounds on
T.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Buttplug