Rust advisories / thex
Vulnerability MediumRUSTSEC-2020-0090 · thex
RUSTSEC-2020-0090: Thex<T> allows data races of non-Send types across threads
Short answerA security vulnerability in the thex crate: Thex<T> allows data races of non-Send types across threads. Medium severity (CVSS 5.5). No fixed version: replace the crate or remove the affected code path.
| Crate | thex |
|---|---|
| Type | Vulnerability (memory-corruption, thread-safety) |
| Affected versions | Every version. |
| Fixed in | none |
| Severity | Medium, CVSS 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Published | 2020-12-08 |
| Last changed | 2023-11-08 |
| Also known as | CVE-2020-35927, GHSA-j42v-6wpm-r847 |
What to do
- Find who pulls it in:
cargo tree -i thex. - Avoid the affected API, or replace the crate.
Details from the advisory
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.
References
- Package: crates.io/crates/thex
- Advisory: rustsec.org/advisories/RUSTSEC-2020-0090.html
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?