CVE-2019-25010 json
Type confusion if __private_get_type_id__ is overriden
published 2019-11-13 6 y ago modified 2026-06-17 4 mo ago also CVE-2020-25575 , GHSA-jq66-xh47-j9f3 , GHSA-r98r-j25q-rmpr , RUSTSEC-2019-0036 , RUSTSEC-2020-0036 , EUVD-2021-1863
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- github.com/RustCrypto/hashes#91 pull request
- github.com/rust-lang-nursery/failure#347 pull request
- github.com/rust-lang-nursery/failure/issues/336 advisory
Exploit prediction
1.54% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | failure | <=0.1.8 >=0.0.0-0 |
no fix listed |
Classification
- Weakness
-
- CWE-843 Access of Resource Using Incompatible Type
References
-
github.com
/rust-lang-nursery/failure/issues/336
web, patch, third-party-advisory, report
-
github.com
/RustCrypto/hashes/pull/91
web
-
github.com
/rust-lang-nursery/failure/pull/347
web
-
rustsec.org
/advisories/RUSTSEC-2019-0036.html
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-25575
advisory
-
boats.gitlab.io
/blog/post/failure-to-fehler
web
-
github.com
/RustSec/advisory-db/blob/main/crates/failure/RUSTSEC-2019-0036.md
web
-
rustsec.org
/advisories/RUSTSEC-2020-0036.html
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-25010
advisory
-
github.com
/rust-lang-nursery/failure
package
-
crates.io
/crates/failure
package
Sources
- CVE List CVE-2019-25010
- GitHub Advisory GHSA-jq66-xh47-j9f3
- GitHub Advisory GHSA-r98r-j25q-rmpr
- NVD CVE-2019-25010
- OSV RUSTSEC-2019-0036
- OSV RUSTSEC-2020-0036
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.