CVE-2020-36218:
Improper synchronization in buttplug
5.9
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
8/25/2021
Updated
1/11/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
buttplug | rust | < 1.0.4 | 1.0.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from manual implementations of Send/Sync traits for ButtplugFutureStateShared<T> that didn't respect T's thread-safety traits. This allowed the struct to be considered thread-safe even when containing !Send/!Sync types, enabling data races. The RustSec advisory explicitly states the fix involved removing these manual implementations to rely on auto trait derivation, confirming these trait implementations were the root cause. While specific file paths aren't provided, the structural analysis of trait implementations matches the vulnerability description with high confidence.