8.1high
Data race in syncpool
- Severity
- 8.1high CVSS:3.1 by NVD
- Exploit likelihood
- 1.24% (higher than 70% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-r88h-6987-g79fGHSA-vp6r-mrq9-8f4hRUSTSEC-2020-0142
Description
An issue was discovered in the syncpool crate before 0.1.6 for Rust. There is an unconditional implementation of Send for Bucket2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| syncpool (crates.io) | before 0.1.6, from 0.0.0-0 before 0.1.6 | GitHub Advisory Database, RustSec Advisory Database |
| syncpool_project syncpool | before 0.1.6 | 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 syncpool crate before 0.1.6 for Rust. There is an unconditional implementation of Send for Bucket2.
GitHub Advisory Database
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-vp6r-mrq9-8f4h. This link is maintained to preserve external references.
Original Description
Affected versions of this crate unconditionally implements Send for Bucket2. This allows sending non-Send types to other threads.
This can lead to data races when non Send types like Cell<T> or Rc<T> are contained inside Bucket2 and sent across thread boundaries. The data races can potentially lead to memory corruption (as demonstrated in the PoC from the original report issue).
The flaw was corrected in commit 15b2828 by adding a T: Send bound to the Send impl of Bucket2<T>.
GitHub Advisory Database
Affected versions of this crate unconditionally implements Send for Bucket2. This allows sending non-Send types to other threads. This can lead to data races when non Send types like Cell<T> or Rc<T> are contained inside Bucket2 and sent across thread boundaries. The data races can potentially lead to memory corruption (as demonstrated in the PoC from the original report issue). The flaw was corrected in commit 15b2828 by adding a T: Send bound to the Send impl of Bucket2<T>.
RustSec Advisory Database
Affected versions of this crate unconditionally implements Send for Bucket2. This allows sending non-Send types to other threads.
This can lead to data races when non Send types like Cell<T> or Rc<T> are contained inside Bucket2 and sent across thread boundaries. The data races can potentially lead to memory corruption (as demonstrated in the PoC from the original report issue).
The flaw was corrected in commit 15b2828 by adding a T: Send bound to the Send impl of Bucket2<T>.
NVD (es)
Se ha detectado un problema en la crate syncpool versiones anteriores a 0.1.6 para Rust. Se presenta una implementación incondicional de Send para Bucket2
References
| https://rustsec.org/advisories/RUSTSEC-2020-0142.html | advisory, exploit, issue-tracking, patch, third-party-advisory, web | |
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/syncpool/RUSTSEC-2020-0142.md | third-party-advisory, web | |
| https://github.com/Chopinsky/byte_buffer/issues/2 | report, web | |
| https://github.com/Chopinsky/byte_buffer/commit/15b282877d1e576de2b337d8162bbf43ed1a0f2d | web | |
| https://github.com/Chopinsky/byte_buffer/tree/master/syncpool | package | |
| https://github.com/RustSec/advisory-db/blob/main/crates/syncpool/RUSTSEC-2020-0142.md | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-36462 | advisory | |
| https://crates.io/crates/syncpool | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36462 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r88h-6987-g79f changed 2026-02-03 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-vp6r-mrq9-8f4h changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0142 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2020-36462 changed 2026-06-17 | Public domain |