GitHub Advisoryadvisory · crates.io
GHSA-jq66-xh47-j9f3 Type confusion if __private_get_type_id__ is overriden
CRITICAL
Official page ↗
- Aliases
- CVE-2020-25575
- Ecosystem
- crates.io
- Packages
- failure
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-843
- Reviewed
- 2022-06-16
Affected packages
• crates.io failure: <= 0.1.8 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2020-25575 An issue was discovered in the failure crate through 0.1.5 for Rust. vulnerability
Weakness · CWE (1)
- CWE-843 Access of Resource Using Incompatible Type weakness
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