CVE-2020-36440
JSON

8.1high

Data races in libsbc

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-f6g6-54hm-fhxvRUSTSEC-2020-0120

Description

An issue was discovered in the libsbc crate before 0.1.5 for Rust. For Decoder<R>, it implements Send for any R: Read.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
libsbc (crates.io)before 0.1.5, from 0.0.0-0 before 0.1.5GitHub Advisory Database, RustSec Advisory Database
libsbc_project libsbcbefore 0.1.5NVD

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 libsbc crate before 0.1.5 for Rust. For Decoder<R>, it implements Send for any R: Read.

GitHub Advisory Database

Affected versions of this crate implements Send for Decoder<R> for any R: Read. This allows Decoder<R> to contain R: !Send and carry (move) it to another thread.

This can result in undefined behavior such as memory corruption from data race on R, or dropping R = MutexGuard<_> from a thread that didn't lock the mutex.

The flaw was corrected in commit a34d6e1 by adding trait bound R: Send to the Send impl for Decoder<R>.

NVD (es)

Se ha detectado un problema en la crate libsbc versiones anteriores a 0.1.5 para Rust. Para la función Decoder(R), implementa Send para cualquier R: Read

References

Sources

SourceRecordLicence
CVE ListCVE-2020-36440 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-f6g6-54hm-fhxv changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2020-0120 changed 2023-11-08CC0-1.0
NVDCVE-2020-36440 changed 2026-06-17Public domain