{"id":"GHSA-r98r-j25q-rmpr","summary":"Rust Failure Crate Vulnerable to Type confusion","details":"Safe Rust code can implement malfunctioning `__private_get_type_id__` and cause type confusion when downcasting, which is an undefined behavior.\n\nUsers who derive Fail trait are not affected.","aliases":["CVE-2019-25010","CVE-2020-25575","GHSA-jq66-xh47-j9f3","RUSTSEC-2019-0036","RUSTSEC-2020-0036"],"modified":"2023-11-01T04:50:54.292659Z","published":"2021-08-25T20:46:38Z","database_specific":{"cwe_ids":["CWE-843"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-08-19T21:19:54Z","nvd_published_at":"2020-12-31T10:15:14Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25010"},{"type":"WEB","url":"https://github.com/rust-lang-nursery/failure/issues/336"},{"type":"PACKAGE","url":"https://github.com/rust-lang-nursery/failure"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2019-0036.html"}],"affected":[{"package":{"name":"failure","ecosystem":"crates.io","purl":"pkg:cargo/failure"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-r98r-j25q-rmpr/GHSA-r98r-j25q-rmpr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}