CVE-2020-36439
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
ticketed_lock (crates.io)before 0.3.0, from 0.0.0-0 before 0.3.0GitHub Advisory Database, RustSec Advisory Database
ticketed_lock_project ticketed_lockbefore 0.3.0NVD

All scores

GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
RustSec Advisory Database8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV: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

SourceRecordLicence
CVE ListCVE-2020-36439 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-77m6-x95j-75r5 changed 2023-11-08CC-BY-4.0
GitHub Advisory DatabaseGHSA-gq4h-f254-7cw9 changed 2026-02-03CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2020-0119 changed 2023-11-08CC0-1.0
NVDCVE-2020-36439 changed 2026-06-17Public domain