Memory Corruption Affecting ticketed_lock package, versions <0.3.0
Snyk CVSS
Attack Complexity
High
Scope
Changed
Availability
High
Threat Intelligence
EPSS
0.24% (62nd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUST-TICKETEDLOCK-1064879
- published 15 Jun 2022
- disclosed 17 Nov 2020
- credit SSLab@Gatech
Introduced: 17 Nov 2020
CVE-2020-36439 Open this link in a new tabHow to fix?
Upgrade ticketed_lock
to version 0.3.0 or higher.
Overview
ticketed_lock is a Ticketed lock system - allows one to separate lock request from the actual waiting.
Affected versions of this package are vulnerable to Memory Corruption. This crate unconditionally implemented Send
for ReadTicket<T>
& WriteTicket<T>
. This allows to send non-Send T
to other threads. This can create data races by cloning types with internal mutability and sending them to other threads (as T
of ReadTicket<T>
/WriteTicket<T>
).