Advisory

RUSTSEC-2020-0090

Also known as: CVE-2020-35927, GHSA-j42v-6wpm-r847

Summary

Thex<T> allows data races of non-Send types across threads

Details

thex::Thex<T> implements Sync for all types T. However, it is missing a
bound for T: Send.

This allows non-Send types such as Rc to be sent across thread boundaries
which can trigger undefined behavior and memory corruption.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

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

Affected packages and fixes

thex

crates.io · All systems

Affected

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

Sources & licences