Advisory

GHSA-c9h5-hf8r-m97x

Also known as: CVE-2020-35864, RUSTSEC-2020-0009

Summary

Dangling reference in flatbuffers

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:47 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

flatbuffers

crates.io · All systems

Affected

  • introduced 0.4.0, fixed 2.0.0 (semver)

Fixed versions

2.0.0

Fix

  • Fixed version 2.0.0
    cargo update -p flatbuffers --precise 2.0.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences