{
  "schema_version": "1.4.0",
  "id": "GHSA-jq66-xh47-j9f3",
  "modified": "2024-07-03T21:13:49Z",
  "published": "2022-06-16T23:06:58Z",
  "aliases": [
    "CVE-2020-25575"
  ],
  "summary": "Type confusion if __private_get_type_id__ is overriden",
  "details": "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.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "failure"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0.1.8"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-25575"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rust-lang-nursery/failure/issues/336"
    },
    {
      "type": "WEB",
      "url": "https://github.com/RustCrypto/hashes/pull/91"
    },
    {
      "type": "WEB",
      "url": "https://boats.gitlab.io/blog/post/failure-to-fehler"
    },
    {
      "type": "WEB",
      "url": "https://github.com/RustSec/advisory-db/blob/main/crates/failure/RUSTSEC-2019-0036.md"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2019-0036.html"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2020-0036.html"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-843"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-16T23:06:58Z",
    "nvd_published_at": "2020-09-14T19:15:00Z"
  }
}