{"id":"RUSTSEC-2019-0028","summary":"Unsound `impl Follow for bool`","details":"The implementation of `impl Follow for bool` allows to reinterpret arbitrary bytes as a `bool`.\n\nIn Rust `bool` has stringent requirements for its in-memory representation. Use of this function\nallows to violate these requirements and invoke undefined behaviour in safe code.","aliases":["CVE-2019-25004","GHSA-gx73-2498-r55c"],"modified":"2023-11-08T04:01:32.107935Z","published":"2019-10-20T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/flatbuffers"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2019-0028.html"},{"type":"REPORT","url":"https://github.com/google/flatbuffers/issues/5530"}],"affected":[{"package":{"name":"flatbuffers","ecosystem":"crates.io","purl":"pkg:cargo/flatbuffers"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.4.0"},{"fixed":"0.6.1"}]}],"ecosystem_specific":{"affects":{"os":[],"arch":[],"functions":["flatbuffers::Follow::follow"]},"affected_functions":null},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2019-0028.json","informational":null,"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","categories":[]}}],"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"}]}