Files
advisory-db/crates/flatbuffers/RUSTSEC-2019-0028.toml
Tony Arcieri 64c17acfe3 Migrate all advisories to V2 format (closes #228)
As announced in #228, this commit migrates all advisories to the new V2
format, which splits version information into a separate section, and
now has a structure which corresponds to the internal code structure of
the `rustsec` crate.

This is a breaking change for users of `cargo-audit` < 0.9, and anyone
who has written a 3rd party advisory format parser.
2020-03-01 10:46:35 -08:00

20 lines
606 B
TOML

[advisory]
id = "RUSTSEC-2019-0028"
package = "flatbuffers"
date = "2019-10-20"
url = "https://github.com/google/flatbuffers/issues/5530"
title = "Unsound `impl Follow for bool`"
description = """
The implementation of `impl Follow for bool` allows to reinterpret arbitrary bytes as a `bool`.
In Rust `bool` has stringent requirements for its in-memory representation. Use of this function
allows to violate these requirements and invoke undefined behaviour in safe code.
"""
[affected.functions]
"flatbuffers::Follow::follow" = [">= 0.4.0", "<= 0.6.0"]
[versions]
patched = []
unaffected = ["< 0.4.0"]