Advisory

RUSTSEC-2020-0092

Also known as: CVE-2020-35928, GHSA-4xj5-vv9x-63jp

Summary

Send/Sync bound needed on V in impl Send/Sync for ARCache<K, V>

Details

Affected versions of this crate unconditionally implemented Send/Sync traits for ARCache<K, V> type.

This allows users to send/access types that do not implement Send/Sync, which can cause a data race.

The flaw was corrected in the 0.2.6 release by adding bounds K: Send + Sync & V: Send + Sync to affected Send/Sync trait implementations.

Severity

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

Dates

Published
2020-11-13 12:00 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

concread

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.2.6 (semver)

Fixed versions

0.2.6

Fix

  • Fixed version 0.2.6
    cargo update -p concread --precise 0.2.6

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