{"id":"RUSTSEC-2020-0149","summary":"Data race and memory safety issue in `Index`","details":"The `appendix` crate implements a key-value mapping data structure called\n`Index\u003cK, V\u003e` 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.","aliases":["CVE-2020-36469","GHSA-fvhr-7j8m-3cvc"],"modified":"2023-11-08T04:03:46.748675Z","published":"2020-11-15T12:00:00Z","database_specific":{"license":"CC0-1.0"},"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"}],"affected":[{"package":{"name":"appendix","ecosystem":"crates.io","purl":"pkg:cargo/appendix"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affects":{"functions":[],"os":[],"arch":[]},"affected_functions":null},"database_specific":{"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0149.json","cvss":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","categories":["memory-corruption","thread-safety"]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}