Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTlqOHEtbTl4NS05ZzZq

Data races in async-coap

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).

Permalink: https://github.com/advisories/GHSA-9j8q-m9x5-9g6j
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTlqOHEtbTl4NS05ZzZq
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: over 1 year ago


CVSS Score: 8.1
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-9j8q-m9x5-9g6j, CVE-2020-36444
References: Repository: https://github.com/google/rust-async-coap
Blast Radius: 0.0

Affected Packages

cargo:async-coap
Dependent packages: 1
Dependent repositories: 1
Downloads: 1,787 total
Affected Version Ranges: <= 0.1.0
No known fixed version
All affected versions: 0.1.0