8.1high
Data races in async-coap
- Severity
- 8.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.77% (higher than 52% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-9j8q-m9x5-9g6jRUSTSEC-2020-0124
Description
An issue was discovered in the async-coap crate through 2020-12-08 for Rust. Send and Sync are implemented for ArcGuard<RC, T> without trait bounds on RC.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| async-coap (crates.io) | up to 0.1.0, from 0.0.0-0 | GitHub Advisory Database, RustSec Advisory Database |
| async-coap_project async-coap | up to 2020-12-08 | NVD |
All scores
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| RustSec Advisory Database | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
An issue was discovered in the async-coap crate through 2020-12-08 for Rust. Send and Sync are implemented for ArcGuard<RC, T> without trait bounds on RC.
GitHub Advisory Database
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).
RustSec Advisory Database
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).
NVD (es)
Se ha detectado un problema en la crate async-coap hasta el 08-12-2020 para Rust. Send y Sync están implementados para la función ArcGuard(RC, T) sin trait bounds en RC
References
| https://rustsec.org/advisories/RUSTSEC-2020-0124.html | advisory, third-party-advisory, web | |
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/async-coap/RUSTSEC-2020-0124.md | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-36444 | advisory | |
| https://github.com/google/rust-async-coap/issues/33 | report, web | |
| https://github.com/google/rust-async-coap | package | |
| https://crates.io/crates/async-coap | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36444 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9j8q-m9x5-9g6j changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0124 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2020-36444 changed 2026-06-17 | Public domain |