GHSA-8892-84wf-cg8f – 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:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
SyncChannel<T> can move 'T: !Send' to other threads 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-25T21:00:16Z
Modified: 2023-06-13T21:01:55Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-8892-84wf-cg8f/GHSA-8892-84wf-cg8f.json
CWE IDs: ["CWE-362"]
Alternative ID: N/A
Finding: F124
Auto approve: 1