Advisory

GHSA-rmff-f8w9-c9rm

Also known as: CVE-2020-36472, RUSTSEC-2020-0152

Summary

Data races in max7301

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-25 20:59 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

max7301

crates.io · All systems

Affected

  • introduced 0, fixed 0.2.0 (semver)

Fixed versions

0.2.0

Fix

  • Fixed version 0.2.0
    cargo update -p max7301 --precise 0.2.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences