Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. signal-simple
  4. ›
  5. GHSA-8892-84wf-cg8f

GHSA-8892-84wf-cg8f: SyncChannel<T> can move 'T: !Send' to other threads

August 25, 2021 (updated June 13, 2023)

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.

References

  • github.com/advisories/GHSA-8892-84wf-cg8f
  • github.com/kitsuneninetails/signal-rust
  • github.com/kitsuneninetails/signal-rust/issues/2
  • rustsec.org/advisories/RUSTSEC-2020-0126.html

Code Behaviors & Features

Detect and mitigate GHSA-8892-84wf-cg8f with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.1.1

Solution

Unfortunately, there is no solution available yet.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

cargo/signal-simple/GHSA-8892-84wf-cg8f.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:44 +0000.