CRITICAL9.8
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
crates.io/failure
Introduced in:
0No fixed version published yet for failure. Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-25575[ADVISORY]
- https://github.com/rust-lang-nursery/failure/issues/336[WEB]
- https://github.com/RustCrypto/hashes/pull/91[WEB]
- https://boats.gitlab.io/blog/post/failure-to-fehler[WEB]
- https://github.com/RustSec/advisory-db/blob/main/crates/failure/RUSTSEC-2019-0036.md[WEB]
- https://rustsec.org/advisories/RUSTSEC-2019-0036.html[WEB]
- https://rustsec.org/advisories/RUSTSEC-2020-0036.html[WEB]