GitHub Advisoryadvisory · crates.io
GHSA-r98r-j25q-rmpr Rust Failure Crate Vulnerable to Type confusion
CRITICAL
Official page ↗
- Aliases
- CVE-2019-25010
- 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
- 2021-08-19
Affected packages
• crates.io failure: <= 0.1.8 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2019-25010 An issue was discovered in the failure crate through 2019-11-13 for Rust. vulnerability
Weakness · CWE (1)
- CWE-843 Access of Resource Using Incompatible Type weakness