CVE-2020-36446 – signal-simple
Package
Manager: cargo
Name: signal-simple
Vulnerable Version: >=0 <=0.1.1
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:H/SI:H/SA:H
EPSS: 0.00336 pctl0.55788
Details
Data races in signal-simple Affected versions of this crate unconditionally implement Send/Sync for SyncChannel<T>. SyncChannel<T> doesn't provide access to &T but merely serves as a channel that consumes and returns owned T. Users can create UB in safe Rust by sending T: !Send to other threads with SyncChannel::send/recv APIs. Using T = Arc<Cell<_> allows to create data races (which can lead to memory corruption), and using T = MutexGuard<T> allows to unlock a mutex from a thread that didn't lock the mutex.
Metadata
Created: 2021-08-25T20:59:13Z
Modified: 2023-06-13T20:41:14Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-36cg-4jff-5863/GHSA-36cg-4jff-5863.json
CWE IDs: ["CWE-119", "CWE-362"]
Alternative ID: GHSA-36cg-4jff-5863
Finding: F124
Auto approve: 1