{ "schema_version": "1.4.0", "id": "GHSA-r88h-6987-g79f", "modified": "2023-06-13T21:54:46Z", "published": "2021-08-25T21:00:28Z", "aliases": [], "summary": "Data races on syncpool", "details": "Affected versions of this crate unconditionally implements `Send` for `Bucket2`. This allows sending non-Send types to other threads.\n\nThis can lead to data races when non Send types like `Cell` or `Rc` 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).\n\nThe flaw was corrected in commit `15b2828` by adding a `T: Send` bound to the `Send` impl of `Bucket2`.\n", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "crates.io", "name": "syncpool" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "0.1.6" } ] } ] } ], "references": [ { "type": "WEB", "url": "https://github.com/Chopinsky/byte_buffer/issues/2" }, { "type": "WEB", "url": "https://github.com/Chopinsky/byte_buffer/commit/15b282877d1e576de2b337d8162bbf43ed1a0f2d" }, { "type": "PACKAGE", "url": "https://github.com/Chopinsky/byte_buffer/tree/master/syncpool" }, { "type": "WEB", "url": "https://github.com/RustSec/advisory-db/blob/main/crates/syncpool/RUSTSEC-2020-0142.md" }, { "type": "WEB", "url": "https://rustsec.org/advisories/RUSTSEC-2020-0142.html" } ], "database_specific": { "cwe_ids": [ "CWE-362" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2021-08-05T22:09:21Z", "nvd_published_at": null } }