Security mailing lists by PureSourceCode

GHSA-3jch-9qgp-4844

CRITICAL 9.8CVSS 3.1

Generated code can read and write out of bounds in safe code

Code generated by flatbuffers' compiler is unsafe but not marked as such.
See https://github.com/google/flatbuffers/issues/6627 for details.

All users that use generated code by flatbuffers compiler are recommended to:

  1. not expose flatbuffer generated code as part of their public APIs
  2. audit their code and look for any usage of follow, push, or any method that uses them
    (e.g. self_follow).
  3. Carefuly go through the crates' documentation to understand which "safe" APIs are not
    intended to be used.
Published
31 Oct 2021
Last modified
8 Nov 2023
Also known as
RUSTSEC-2021-0122
Sources
OSVJSONOSV RUSTSEC-2021-0122JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV RustSec CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io flatbuffers < 22.9.29 22.9.29
OSV crates.io flatbuffers >= 0.0.0-0, < 22.9.29 22.9.29

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Oct 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jun 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.