Advisory

RUSTSEC-2020-0114

Also known as: CVE-2020-36220, GHSA-3hj2-hh36-hv9v

Summary

Demuxer can carry non-Send types across thread boundaries

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: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2020-12-22 12:00 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

va-ts

crates.io · All systems

Affected

  • introduced 0.0.0-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: RustSec Advisory Database · CC0-1.0

Sources & licences