Advisory

GHSA-9j8q-m9x5-9g6j

Also known as: CVE-2020-36444, RUSTSEC-2020-0124

Summary

Data races in async-coap

Details

An issue was discovered in the async-coap crate through 2020-12-08 for Rust.
Affected versions of this crate implement Send/Sync for ArcGuard<RC, T> with no trait bounds on RC. This allows users to send RC: !Send to other threads and also allows users to concurrently access Rc: !Sync from multiple threads.

This can result in memory corruption from data race or other undefined behavior caused by sending T: !Send to other threads (e.g. dropping MutexGuard<T> in another thread that didn't lock its mutex).

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:59 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

async-coap

crates.io · All systems

Affected

  • introduced 0, last affected 0.1.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences