Files
advisory-db/crates/failure/RUSTSEC-2019-0036.md
Tony Arcieri ac125ee29a Translate database into V3 advisory format (#420)
As proposed in #240 and tracked in #414, this PR translates all
advisories into the new "V3" advisory format, which is based on Markdown
with leading TOML front matter.

This format makes it easier to see rendered Markdown syntax
descriptions, whether rendered by an IDE or GitHub. This should help
with both crafting advisories initially as well as review, and ideally
encourages more lengthy descriptions.

Support for this format shipped in `cargo-audit` v0.12.0 on
May 6th, 2020.
2020-10-01 18:29:11 -07:00

24 lines
586 B
Markdown

```toml
[advisory]
id = "RUSTSEC-2019-0036"
package = "failure"
aliases = ["CVE-2020-25575"]
date = "2019-11-13"
informational = "unsound"
keywords = ["unsound"]
url = "https://github.com/rust-lang-nursery/failure/issues/336"
[affected.functions]
"failure::Fail::__private_get_type_id__" = [">= 0.1.0"]
[versions]
patched = []
```
# Type confusion if __private_get_type_id__ is overriden
Safe Rust code can implement malfunctioning `__private_get_type_id__` and cause
type confusion when downcasting, which is an undefined behavior.
Users who derive `Fail` trait are not affected.