Skip to content

Queue<T> should have a Send bound on its Send/Sync traits

Moderate severity GitHub Reviewed Published Aug 25, 2021 to the GitHub Advisory Database • Updated Jan 9, 2023
Withdrawn This advisory was withdrawn on Aug 24, 2021

Package

cargo scottqueue (Rust)

Affected versions

<= 0.1.0

Patched versions

None

Description

Affected versions of this crate unconditionally implements Send/Sync for Queue<T>.

This allows (1) creating data races to a T: !Sync and (2) sending T: !Send to other threads, resulting in memory corruption or other undefined behavior.

References

Reviewed Aug 6, 2021
Withdrawn Aug 24, 2021
Published to the GitHub Advisory Database Aug 25, 2021
Last updated Jan 9, 2023

Severity

Moderate

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-v42f-j8fx-99f3
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.