mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-02-23 15:38:27 +01:00
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.
20 lines
606 B
TOML
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"]
|