[ { "id": "RUSTSEC-2020-0149", "modified": "2023-06-13T13:10:24Z", "published": "2020-11-15T12:00:00Z", "aliases": [ "CVE-2020-36469", "GHSA-fvhr-7j8m-3cvc" ], "related": [], "summary": "Data race and memory safety issue in `Index`", "details": "The `appendix` crate implements a key-value mapping data structure called\n`Index` that is stored on disk. The crate allows for any type to inhabit\nthe generic `K` and `V` type parameters and implements Send and Sync for them\nunconditionally.\n\nUsing a type that is not marked as `Send` or `Sync` with `Index` can allow it\nto be used across multiple threads leading to data races. Additionally using\nreference types for the keys or values will lead to the segmentation faults\nin the crate's code.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H" } ], "affected": [ { "package": { "ecosystem": "crates.io", "name": "appendix", "purl": "pkg:cargo/appendix" }, "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:N/I:N/A:H", "informational": null }, "ranges": [ { "type": "SEMVER", "events": [ { "introduced": "0.0.0-0" } ] } ], "versions": [] } ], "references": [ { "type": "PACKAGE", "url": "https://crates.io/crates/appendix" }, { "type": "ADVISORY", "url": "https://rustsec.org/advisories/RUSTSEC-2020-0149.html" }, { "type": "REPORT", "url": "https://github.com/krl/appendix/issues/6" } ], "database_specific": { "license": "CC0-1.0" } } ]