Advisory

GHSA-3837-87vh-xq3w

Also known as: CVE-2020-36447, GHSA-pfjq-935c-4895, RUSTSEC-2020-0127

Summary

Data race in v9

Details

Affected versions of this crate unconditionally implement Sync for SyncRef<T>. This definition allows data races if &T is accessible through &SyncRef.

SyncRef<T> derives Clone and Debug, and the default implementations of those traits access &T by invoking T::clone() & T::fmt(). It is possible to create data races & undefined behavior by concurrently invoking SyncRef<T>::clone() or SyncRef<T>::fmt() from multiple threads with T: !Sync.

Severity

High Basis: The source's own band: HIGH

Dates

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

Affected packages and fixes

v9

crates.io · All systems

Affected

  • introduced 0, fixed 0.1.43 (semver)

Fixed versions

0.1.43

Fix

  • Fixed version 0.1.43
    cargo update -p v9 --precise 0.1.43

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