Files
advisory-db/packages/convec.json
T
2025-10-27 16:49:06 +00:00

73 lines
2.1 KiB
JSON

[
{
"id": "RUSTSEC-2020-0125",
"modified": "2023-06-13T13:10:24Z",
"published": "2020-11-24T12:00:00Z",
"aliases": [
"CVE-2020-36445",
"GHSA-rpxm-vmr7-5f5f"
],
"related": [],
"summary": "convec::ConVec<T> unconditionally implements Send/Sync",
"details": "Affected versions of this crate unconditionally implement Send/Sync for `ConVec<T>`.\nThis allows users to insert `T` that is not Send or not Sync.\n\nThis allows users to create data races by using non-Send types like `Arc<Cell<_>>` or `Rc<_>` as `T` in `ConVec<T>`. It is also possible to create data races by using types like `Cell<_>` or `RefCell<_>` as `T` (types that are `Send` but not `Sync`).\nSuch data races can lead to memory corruption.",
"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": "convec",
"purl": "pkg:cargo/convec"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": []
},
"affected_functions": null
},
"database_specific": {
"categories": [
"memory-corruption",
"thread-safety"
],
"cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"informational": null
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/convec"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2020-0125.html"
},
{
"type": "REPORT",
"url": "https://github.com/krl/convec/issues/2"
}
],
"database_specific": {
"license": "CC0-1.0"
}
}
]