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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| libsbc (crates.io) | before 0.1.5, from 0.0.0-0 before 0.1.5 | GitHub Advisory Database, RustSec Advisory Database |
| libsbc_project libsbc | before 0.1.5 | 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 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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36440 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f6g6-54hm-fhxv changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0120 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2020-36440 changed 2026-06-17 | Public domain |