CVE-2020-36218 Improper synchronization in buttplug

Medium 5.9 Published Updated

A data race in the buttplug Rust crate allows unsafe concurrent access to non-Send/Sync objects, potentially causing undefined behavior.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-36218?

CVE-2020-36218 is a medium-severity vulnerability in n/a, published on 22 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Which versions are affected by CVE-2020-36218?

3 open source packages ship an affected version, including buttplug. It affects 1 product.

PackageAffectedFixed in
buttplug crates.ioAll versions1.0.4
buttplug crates.ioAll versions1.0.4
buttplug crates.ioFrom 0.0.0-01.0.4

Products include Nonpolynomial Buttplug.

How do I fix CVE-2020-36218?

Upgrade buttplug to 1.0.4 or later.

Is CVE-2020-36218 being exploited?

There is no known exploitation of CVE-2020-36218 in the wild and no public exploit code.

Sources

Also known as GHSA-r7rv-2rph-hvhj, RUSTSEC-2020-0112.

Is CVE-2020-36218 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free