Race Condition Affecting buttplug package, versions <1.0.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-BUTTPLUG-1290571
  • published10 May 2021
  • disclosed18 Dec 2020
  • creditSSLab@Gatech

Introduced: 18 Dec 2020

CVE-2020-36218  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade buttplug to version 1.0.4 or higher.

Overview

buttplug is a Rust implementation of the Buttplug Intimate Hardware Protocol, including implementations of the client and, at some point, server.

Affected versions of this package are vulnerable to Race Condition. In case T: !Send or T: !Sync for ButtplugFutureStateShared<T>, it may be possible to cause data race and lead to undefined behavior.

CVSS Scores

version 3.1