rust-lang-nursery/failure · Security

Rust Failure Crate Vulnerable to Type confusion

GHSA ID
GHSA-r98r-j25q-rmpr
CVE ID
CVE-2019-25010
Severity
critical
Published
Updated
CVSS
9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v3
9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

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.

CWEs

References