GHSA-36cg-4jff-5863

Suggest an improvement
Source
https://github.com/advisories/GHSA-36cg-4jff-5863
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-36cg-4jff-5863/GHSA-36cg-4jff-5863.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-36cg-4jff-5863
Aliases
Published
2021-08-25T20:59:13Z
Modified
2023-11-08T04:03:45.337562Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Data races in signal-simple
Details

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

Database specific
{
    "nvd_published_at": "2021-08-08T06:15:00Z",
    "cwe_ids": [
        "CWE-119",
        "CWE-362"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-09T21:44:31Z"
}
References

Affected packages

crates.io / signal-simple

Package

Name
signal-simple
View open source insights on deps.dev
Purl
pkg:cargo/signal-simple

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.1.1