GHSA-rmff-f8w9-c9rm

Suggest an improvement
Source
https://github.com/advisories/GHSA-rmff-f8w9-c9rm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-rmff-f8w9-c9rm/GHSA-rmff-f8w9-c9rm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rmff-f8w9-c9rm
Aliases
Published
2021-08-25T20:59:22Z
Modified
2023-11-08T04:03:46.931470Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2021-08-08T06:15:00Z",
    "github_reviewed_at": "2021-08-09T17:25:44Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-362"
    ]
}
References

Affected packages

crates.io / max7301

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.2.0