{"id":"GHSA-3jch-9qgp-4844","aliases":["RUSTSEC-2021-0122"],"url":"https://o3.security/vulnerability/GHSA-3jch-9qgp-4844","summary":"Generated code can read and write out of bounds in safe code","details":"Code generated by flatbuffers' compiler is `unsafe` but not marked as such.\nSee https://github.com/google/flatbuffers/issues/6627 for details.\n\nAll users that use generated code by `flatbuffers` compiler are recommended to:\n1. not expose flatbuffer generated code as part of their public APIs\n2. audit their code and look for any usage of `follow`, `push`, or any method that uses them\n   (e.g. `self_follow`).\n3. Carefuly go through the crates' documentation to understand which \"safe\" APIs are not\n   intended to be used.\n","published":"2022-06-16T23:54:35Z","modified":"2023-11-08T04:14:40.953991Z","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":0,"affectedPackages":[{"ecosystem":"crates.io","name":"flatbuffers","fixedVersion":"22.9.29"}],"fix":{"url":"https://github.com/google/flatbuffers/pull/7518","label":"google/flatbuffers#7518"},"references":[{"type":"WEB","url":"https://github.com/google/flatbuffers/issues/6627"},{"type":"WEB","url":"https://github.com/google/flatbuffers/pull/7518"},{"type":"PACKAGE","url":"https://github.com/google/flatbuffers"},{"type":"WEB","url":"https://github.com/google/flatbuffers/releases/tag/v22.9.29"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0122.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:14:40.953991Z"}}