RUSTSEC-2019-0036

Source
https://rustsec.org/advisories/RUSTSEC-2019-0036
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2019-0036.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2019-0036
Aliases
Published
2019-11-13T12:00:00Z
Modified
2023-11-08T04:01:32.420171Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Type confusion if __private_get_type_id__ is overridden
Details

Safe Rust code can implement malfunctioning __private_get_type_id__ and cause type confusion when downcasting, which is an undefined behavior.

Users who derive Fail trait are not affected.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / failure

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [
            "failure::Fail::__private_get_type_id__"
        ],
        "arch": []
    }
}

Database specific

{
    "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "informational": "unsound",
    "categories": []
}