Advisory

GHSA-mxv6-q98x-h958

Also known as: CVE-2020-36460, RUSTSEC-2020-0140

Summary

Data races in model

Details

Shared data structure in model crate implements Send and Sync traits regardless of the inner type.
This allows safe Rust code to trigger a data race, which is undefined behavior in Rust.

Users are advised to treat Shared as an unsafe type.
It should not be used outside of the testing context,
and care must be taken so that the testing code does not have a data race
besides a race condition that is expected to be caught by the test.

Severity

High Basis: The source's own band: HIGH

Dates

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

Affected packages and fixes

model

crates.io · All systems

Affected

  • introduced 0, last affected 0.1.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

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