critical9.8
CVE-2020-25575
Type confusion if __private_get_type_id__ is overriden
Impact
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 | Fixed in |
|---|---|---|---|
| rust | failure | <= 0.1.8 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Failure Project | Failure | through 0.1.8 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://boats.gitlab.io/blog/post/failure-to-fehler/
- https://github.com/rust-lang-nursery/failure/issues/336
- https://rustsec.org/advisories/RUSTSEC-2020-0036.html
- https://github.com/advisories/GHSA-jq66-xh47-j9f3
- https://nvd.nist.gov/vuln/detail/CVE-2020-25575
- https://github.com/RustCrypto/hashes/pull/91
- https://github.com/RustSec/advisory-db/blob/main/crates/failure/RUSTSEC-2019-0036.md
- https://rustsec.org/advisories/RUSTSEC-2019-0036.html
- https://boats.gitlab.io/blog/post/failure-to-fehler