CVE-2019-25010
CRITICAL 9.8CVSS 3.1Type confusion if __private_get_type_id__ is overriden
An issue was discovered in the failure crate through 2019-11-13 for Rust. Type confusion can occur when private_get_type_id is overridden.
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-843
- Also known as
- CVE-2020-25575GHSA-jq66-xh47-j9f3GHSA-r98r-j25q-rmprRUSTSEC-2019-0036RUSTSEC-2020-0036
- Sources
- NVDJSONOSV GHSA-jq66-xh47-j9f3JSONOSV GHSA-r98r-j25q-rmprJSONOSV RUSTSEC-2019-0036JSONOSV RUSTSEC-2020-0036JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | RustSec | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | failure_project | failurecpe:2.3:a:failure_project:failure:*:*:*:*:*:rust:*:* |
<= 0.1.5 | |
| OSV | crates.io | failure | <= 0.1.8 | |
| OSV | crates.io | failure | >= 0.0.0-0 |
References
- https://github.com/rust-lang-nursery/failure/issues/336 · Patch, Third Party Advisory, WEB, REPORT
- https://rustsec.org/advisories/RUSTSEC-2019-0036.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-25575 · ADVISORY
- 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-2020-0036.html · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2019-25010 · ADVISORY
- https://github.com/rust-lang-nursery/failure · PACKAGE
- https://crates.io/crates/failure · PACKAGE
- https://github.com/rust-lang-nursery/failure/pull/347 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Nov 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 May 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jun 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)