GitHub Advisoryadvisory · crates.io
GHSA-3hj2-hh36-hv9v Data race in va-ts
MEDIUM
Official page ↗
- Aliases
- CVE-2020-36220
- Ecosystem
- crates.io
- Packages
- va-ts
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-662, CWE-667, CWE-787
- Reviewed
- 2021-08-19
Affected packages
• crates.io va-ts: < 0.0.4 → fixed in 0.0.4
Description
In the affected versions of this crate, Demuxer 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.
Related
Alias · CVE (1)
- CVE-2020-36220 An issue was discovered in the va-ts crate before 0.0.4 for Rust. vulnerability