Advisory

RUSTSEC-2019-0036

Also known as: CVE-2019-25010, CVE-2020-25575, GHSA-jq66-xh47-j9f3, GHSA-r98r-j25q-rmpr, RUSTSEC-2020-0036

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2019-11-13 12:00 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

failure

crates.io · All systems

Affected

  • introduced 0.0.0-0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences