CVE-2020-36444
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
async-coap (crates.io)up to 0.1.0, from 0.0.0-0GitHub Advisory Database, RustSec Advisory Database
async-coap_project async-coapup to 2020-12-08NVD

All scores

GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
RustSec Advisory Database8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2020-36444 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-9j8q-m9x5-9g6j changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2020-0124 changed 2023-11-08CC0-1.0
NVDCVE-2020-36444 changed 2026-06-17Public domain