Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. flatbuffers
  4. ›
  5. CVE-2020-35864

CVE-2020-35864: Dangling reference in flatbuffers

August 25, 2021

An issue was discovered in the flatbuffers crate through 2020-04-11 for Rust. read_scalar (and read_scalar_at) can transmute values without unsafe blocks.

References

  • github.com/advisories/GHSA-c9h5-hf8r-m97x
  • github.com/google/flatbuffers
  • github.com/google/flatbuffers/issues/5825
  • nvd.nist.gov/vuln/detail/CVE-2020-35864
  • rustsec.org/advisories/RUSTSEC-2020-0009.html

Code Behaviors & Features

Detect and mitigate CVE-2020-35864 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.4.0 before 2.0.0

Fixed versions

  • 2.0.0

Solution

Upgrade to version 2.0.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-704: Incorrect Type Conversion or Cast

Source file

cargo/flatbuffers/CVE-2020-35864.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:18 +0000.