{"id":"RUSTSEC-2021-0011","summary":"EventList's From\u003cEventList\u003e conversions can double drop on panic.","details":"Affected versions of this crate read from a container using `ptr::read` in\n`From\u003cEventList\u003e`, and then call a user specified `Into\u003cEvent\u003e` function.\n\nThis issue can result in a double-free if the user provided function panics.","aliases":["CVE-2021-25908","GHSA-x3v2-fgr6-3wmm"],"modified":"2023-11-08T04:05:16.979651Z","published":"2021-01-04T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/fil-ocl"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0011.html"},{"type":"REPORT","url":"https://github.com/cogciprocate/ocl/issues/194"}],"affected":[{"package":{"name":"fil-ocl","ecosystem":"crates.io","purl":"pkg:cargo/fil-ocl"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.12.0"}]}],"ecosystem_specific":{"affects":{"os":[],"functions":[],"arch":[]},"affected_functions":null},"database_specific":{"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0011.json","cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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:N/I:N/A:H"}]}