Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. failure
  4. ›
  5. CVE-2020-25575

CVE-2020-25575: Type confusion if __private_get_type_id__ is overriden

June 16, 2022 (updated July 3, 2024)

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.

References

  • boats.gitlab.io/blog/post/failure-to-fehler
  • github.com/RustCrypto/hashes/pull/91
  • github.com/RustSec/advisory-db/blob/main/crates/failure/RUSTSEC-2019-0036.md
  • github.com/advisories/GHSA-jq66-xh47-j9f3
  • github.com/rust-lang-nursery/failure/issues/336
  • nvd.nist.gov/vuln/detail/CVE-2020-25575
  • rustsec.org/advisories/RUSTSEC-2019-0036.html
  • rustsec.org/advisories/RUSTSEC-2020-0036.html

Code Behaviors & Features

Detect and mitigate CVE-2020-25575 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.1.8

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')

Source file

cargo/failure/CVE-2020-25575.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:48 +0000.