GHSA-3JCH-9QGP-4844

Vulnerability from github – Published: 2022-06-16 23:54 – Updated: 2022-06-16 23:54
VLAI?
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. 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.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "flatbuffers"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "22.9.29"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-16T23:54:35Z",
    "nvd_published_at": null,
    "severity": "CRITICAL"
  },
  "details": "Code generated by flatbuffers\u0027 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\u0027 documentation to understand which \"safe\" APIs are not\n   intended to be used.\n",
  "id": "GHSA-3jch-9qgp-4844",
  "modified": "2022-06-16T23:54:35Z",
  "published": "2022-06-16T23:54:35Z",
  "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"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Generated code can read and write out of bounds in safe code"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…