Advisory

GHSA-3hj2-hh36-hv9v

Also known as: CVE-2020-36220, RUSTSEC-2020-0114

Summary

Data race in va-ts

Details

In the affected versions of this crate, Demuxer<T> unconditionally implemented Send with no trait bounds on T. This allows sending a non-Send type T across thread boundaries, which can cause undefined behavior like unlocking a mutex from a thread that didn't lock the mutex, or memory corruption from data race. The flaw was corrected in commit 0562cbf by adding a T: Send bound to the Send impl for Demuxer<T>.

Severity

Medium Basis: The source's own band: MODERATE

Dates

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

Affected packages and fixes

va-ts

crates.io · All systems

Affected

  • introduced 0, fixed 0.0.4 (semver)

Fixed versions

0.0.4

Fix

  • Fixed version 0.0.4
    cargo update -p va-ts --precise 0.0.4

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