Race Condition Affecting max7301 package, versions <0.2.0


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.1% (43rd 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-MAX7301-1537624
  • published8 Aug 2021
  • disclosed8 Aug 2021
  • creditUnknown

Introduced: 8 Aug 2021

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

How to fix?

Upgrade max7301 to version 0.2.0 or higher.

Overview

max7301 is a driver for the MAX7301 serial I/O expander.

Affected versions of this package are vulnerable to Race Condition. The ImmediateIO and TransactionalIO types implement Sync for all contained Expander<EI> types regardless of if the Expander itself is safe to use across threads. As the IO types allow retrieving the Expander, this can lead to non-thread safe types being sent across threads as part of the Expander leading to data races.

CVSS Scores

version 3.1