8.1high
Data races in ticketed_lock
- Severity
- 8.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.77% (higher than 56% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-77m6-x95j-75r5GHSA-gq4h-f254-7cw9RUSTSEC-2020-0119
Description
An issue was discovered in the ticketed_lock crate before 0.3.0 for Rust. There are unconditional implementations of Send for ReadTicket<T> and WriteTicket<T>.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| ticketed_lock (crates.io) | before 0.3.0, from 0.0.0-0 before 0.3.0 | GitHub Advisory Database, RustSec Advisory Database |
| ticketed_lock_project ticketed_lock | before 0.3.0 | NVD |
All scores
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| RustSec Advisory Database | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
An issue was discovered in the ticketed_lock crate before 0.3.0 for Rust. There are unconditional implementations of Send for ReadTicket<T> and WriteTicket<T>.
GitHub Advisory Database
Affected versions of this crate unconditionally implemented Send for ReadTicket<T> & WriteTicket<T>. This allows to send non-Send T to other threads. This can allows creating data races by cloning types with internal mutability and sending them to other threads (as T of ReadTicket<T>/WriteTicket<T>). Such data races can cause memory corruption or other undefined behavior. The flaw was corrected in commit a986a93 by adding T: Send bounds to Send impls of ReadTicket<T>/WriteTicket<T>.
GitHub Advisory Database
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-77m6-x95j-75r5. This link is maintained to preserve external references.
Original Description
Affected versions of this crate unconditionally implemented Send for ReadTicket<T> & WriteTicket<T>.
This allows to send non-Send T to other threads.
This can allows creating data races by cloning types with internal mutability and sending them to other threads (as T of ReadTicket<T>/WriteTicket<T>). Such data races can cause memory corruption or other undefined behavior.
The flaw was corrected in commit a986a93 by adding T: Send bounds to Send impls of ReadTicket<T>/WriteTicket<T>.
RustSec Advisory Database
Affected versions of this crate unconditionally implemented Send for ReadTicket<T> & WriteTicket<T>.
This allows to send non-Send T to other threads.
This can allows creating data races by cloning types with internal mutability and sending them to other threads (as T of ReadTicket<T>/WriteTicket<T>). Such data races can cause memory corruption or other undefined behavior.
The flaw was corrected in commit a986a93 by adding T: Send bounds to Send impls of ReadTicket<T>/WriteTicket<T>.
NVD (es)
Se ha detectado un problema en la crate ticketed_lock versiones anteriores a 0.3.0 para Rust. Se presentan implementaciones incondicionales de Send para las funciones ReadTicket(T) y WriteTicket(T)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36439 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-77m6-x95j-75r5 changed 2023-11-08 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-gq4h-f254-7cw9 changed 2026-02-03 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0119 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2020-36439 changed 2026-06-17 | Public domain |