{"id":"RUSTSEC-2020-0027","summary":"traitobject assumes the layout of fat pointers","details":"This crate gets the data pointer from fat pointers assuming that the first\nelement in a fat pointer is the data pointer. This is currently true, but\nit may change in a future Rust version, leading to memory corruption.\n\nThis has been fixed in the master branch of the crate, but is has not\nbeen released into crates.io.","aliases":["CVE-2020-35881","GHSA-j79j-cx3h-g27h"],"modified":"2023-11-08T04:03:37.256561Z","published":"2020-06-01T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/traitobject"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0027.html"},{"type":"REPORT","url":"https://github.com/reem/rust-traitobject/issues/7"}],"affected":[{"package":{"name":"traitobject","ecosystem":"crates.io","purl":"pkg:cargo/traitobject"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"os":[],"arch":[],"functions":["traitobject::data","traitobject::data_mut"]}},"database_specific":{"informational":"unsound","categories":["memory-corruption"],"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0027.json","cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}}],"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"}]}