{"id":"RUSTSEC-2021-0054","summary":"Archives may contain uninitialized memory","details":"`rkyv` is a serialization framework that writes struct-compatible memory to be stored or\ntransmitted. During serialization, struct padding bytes and unused enum bytes may not be\ninitialized. These bytes may be written to disk or sent over unsecured channels.","aliases":["CVE-2021-31919","GHSA-w5cr-frph-hw7f"],"modified":"2023-11-01T04:55:22.242606Z","published":"2021-04-28T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/rkyv"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0054.html"},{"type":"REPORT","url":"https://github.com/djkoloski/rkyv/issues/113"}],"affected":[{"package":{"name":"rkyv","ecosystem":"crates.io","purl":"pkg:cargo/rkyv"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.6.0"}]}],"ecosystem_specific":{"affects":{"functions":["rkyv::Archive::resolve"],"os":[],"arch":[]},"affected_functions":null},"database_specific":{"categories":["memory-exposure"],"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0054.json","informational":null}}],"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:N/A:N"}]}