{"id":"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","aliases":["RUSTSEC-2021-0122"],"modified":"2023-11-08T04:14:40.953991Z","published":"2022-06-16T23:54:35Z","database_specific":{"cwe_ids":[],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-06-16T23:54:35Z","nvd_published_at":null},"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"}],"affected":[{"package":{"name":"flatbuffers","ecosystem":"crates.io","purl":"pkg:cargo/flatbuffers"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"22.9.29"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-3jch-9qgp-4844/GHSA-3jch-9qgp-4844.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}