{"id":"RUSTSEC-2019-0015","summary":"Flaw in generativity allows out-of-bounds access","details":"Affected versions of this crate did not properly implement the generativity,\nbecause the invariant lifetimes were not necessarily `drop`ped.\n\nThis allows an attacker to mix up two arenas, using indices created from one\narena with another one. This might lead to an out-of-bounds read or write\naccess into the memory reserved for the arena.\n\nThe flaw was corrected by implementing generativity correctly in version 0.4.0.","aliases":["CVE-2019-16139","GHSA-7j36-gc4r-9x3r"],"modified":"2023-11-08T04:01:16.163639Z","published":"2019-05-21T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/compact_arena"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2019-0015.html"},{"type":"REPORT","url":"https://github.com/llogiq/compact_arena/issues/22"}],"affected":[{"package":{"name":"compact_arena","ecosystem":"crates.io","purl":"pkg:cargo/compact_arena"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.4.0"}]}],"ecosystem_specific":{"affects":{"arch":[],"os":[],"functions":["compact_arena::SmallArena::new"]},"affected_functions":null},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2019-0015.json","informational":null,"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","categories":["memory-corruption"]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}