CVE-2020-35864 json
Dangling reference in flatbuffers
published 2020-04-11 6 y ago modified 2026-06-17 4 mo ago also GHSA-c9h5-hf8r-m97x , RUSTSEC-2020-0009 , EUVD-2021-1677
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io flatbuffers 2.0.0
Exploit prediction
0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2020-0009.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | flatbuffers | >=0.4.0, <2.0.0 |
2.0.0 |
Classification
- Weakness
-
- CWE-704 Incorrect Type Conversion or Cast
References
-
rustsec.org
/advisories/RUSTSEC-2020-0009.html
web, exploit, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-35864
advisory
-
github.com
/google/flatbuffers/issues/5825
web, report
-
github.com
/google/flatbuffers
package
-
crates.io
/crates/flatbuffers
package
Sources
- CVE List CVE-2020-35864
- GitHub Advisory GHSA-c9h5-hf8r-m97x
- NVD CVE-2020-35864
- OSV RUSTSEC-2020-0009
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.