GitHub Advisory Database
GHSA-jq66-xh47-j9f3
Type confusion if __private_get_type_id__ is overriden
Details
An issue was discovered in the failure crate through 0.1.5 for Rust. It may introduce "compatibility hazards" in some applications, and has a type confusion flaw when downcasting. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. NOTE: This may overlap CVE-2019-25010.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | failure | All versions up to and including 0.1.8 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-25575
- https://github.com/rust-lang-nursery/failure/issues/336
- https://github.com/RustCrypto/hashes/pull/91
- https://boats.gitlab.io/blog/post/failure-to-fehler
- https://github.com/RustSec/advisory-db/blob/main/crates/failure/RUSTSEC-2019-0036.md
- https://rustsec.org/advisories/RUSTSEC-2019-0036.html
- https://rustsec.org/advisories/RUSTSEC-2020-0036.html