Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2020-36218
Rust vulnerability analysis and mitigation

Overview

An issue was discovered in the buttplug crate before 1.0.4 for Rust. ButtplugFutureStateShared does not properly consider (!Send|!Sync) objects, leading to a data race. The vulnerability was discovered on December 18, 2020 and disclosed on January 20, 2021. This vulnerability affects the buttplug crate package available on crates.io (RustSec Advisory).

Technical details

The vulnerability stems from ButtplugFutureStateShared implementing Send & Sync traits regardless of the generic type T. When T is not Send-compatible (e.g., T=Rc), it becomes possible to move non-Send types across thread boundaries. Similarly, when T is not Sync-compatible (e.g., T=Arc), it can lead to data races. The vulnerability has been assigned a CVSS v3.1 base score of 5.9 (Medium) with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (RustSec Advisory).

Impact

The vulnerability can lead to undefined behavior in two scenarios: 1) When T is not Send-compatible, it allows moving non-Send types across thread boundaries, and 2) When T is not Sync-compatible, it can cause data races. This primarily affects the availability of the system, as indicated by the CVSS metrics showing high impact on availability but no impact on confidentiality or integrity (RustSec Advisory).

Exploitability

The vulnerability requires network access but has high attack complexity. No privileges or user interaction is required to exploit the vulnerability. The scope is unchanged, meaning the impact is limited to the vulnerable component's security scope (RustSec Advisory).

Mitigation and workarounds

The vulnerability was fixed in version 1.0.4 of the buttplug crate by removing manual implementations of Send/Sync for ButtplugFutureStateShared. This allows the Rust compiler (rustc) to automatically generate trait implementations with correct bounds on type T. Users should upgrade to version 1.0.4 or later to address this vulnerability (RustSec Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68537HIGH7.5
  • Rust logoRust
  • fulgur
NoYesSep 17, 2026
CVE-2026-68523HIGH7.5
  • Rust logoRust
  • fulgur
NoYesSep 17, 2026
RUSTSEC-2026-0289NONEN/A
  • Rust logoRust
  • pqc_kyber
NoNoSep 17, 2026
RUSTSEC-2026-0287NONEN/A
  • Rust logoRust
  • cosmian_kyber
NoNoSep 17, 2026
RUSTSEC-2026-0286NONEN/A
  • Rust logoRust
  • cryptoki
NoYesSep 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management