logo

CVE-2020-36439 ticketed_lock

Package

Manager: cargo
Name: ticketed_lock
Vulnerable Version: >=0 <0.3.0

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00336 pctl0.55788

Details

Data races in ticketed_lock 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>.

Metadata

Created: 2021-08-25T20:58:58Z
Modified: 2023-06-13T22:07:15Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-77m6-x95j-75r5/GHSA-77m6-x95j-75r5.json
CWE IDs: ["CWE-119", "CWE-362"]
Alternative ID: GHSA-77m6-x95j-75r5
Finding: F124
Auto approve: 1