Advisory

RUSTSEC-2020-0111

Also known as: CVE-2020-36217, GHSA-pphf-f93w-gc84

Summary

may_queue's Queue lacks Send/Sync bound for its Send/Sync trait.

Details

Affected versions of may_queue implements Send/Sync for its Queue type without restricting it to Sendable types and Syncable types.

This allows non-Sync types such as Cell to be shared across threads leading to undefined behavior and memory corruption in concurrent programs.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2020-11-10 12:00 UTC
Modified
2024-10-25 18:45 UTC

Affected packages and fixes

may_queue

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.1.8 (semver)

Fixed versions

0.1.8

Fix

  • Fixed version 0.1.8
    cargo update -p may_queue --precise 0.1.8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences