{"id":"CVE-2019-25004","aliases":["RUSTSEC-2019-0028"],"url":"https://o3.security/vulnerability/CVE-2019-25004","summary":"Unsound casting in flatbuffers","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 allows to violate these requirements and invoke undefined behaviour in safe code.","published":"2021-08-25T20:46:49Z","modified":"2023-11-08T04:01:32.107935Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"crates.io","name":"flatbuffers","fixedVersion":"0.6.1"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25004"},{"type":"WEB","url":"https://github.com/google/flatbuffers/issues/5530"},{"type":"PACKAGE","url":"https://github.com/google/flatbuffers"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2019-0028.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:01:32.107935Z"}}