{"id":"RUSTSEC-2020-0050","summary":"VecCopy allows misaligned access to elements","details":"`VecCopy::data` is created as a Vec of u8 but can be used to store and retrieve\nelements of different types leading to misaligned access.\n\nThe issue was resolved in v0.5.0 by replacing data being stored by `Vec\u003cu8\u003e` with a custom managed\npointer.  Elements are now stored and retrieved using types with proper alignment corresponding to\noriginal types.","aliases":["CVE-2020-35903","GHSA-qxjq-v4wf-ppvh"],"modified":"2023-11-08T04:03:38.488178Z","published":"2020-09-27T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/dync"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0050.html"},{"type":"REPORT","url":"https://github.com/elrnv/dync/issues/4"}],"affected":[{"package":{"name":"dync","ecosystem":"crates.io","purl":"pkg:cargo/dync"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.5.0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"cvss":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","informational":"unsound","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0050.json","categories":[]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}