CVE-2019-25004

CRITICAL9.8EPSS 0.17%

Unsound `impl Follow for bool`

發布日:2021/8/25修改日:2023/11/8

描述

The implementation of `impl Follow for bool` allows to reinterpret arbitrary bytes as a `bool`. In Rust `bool` has stringent requirements for its in-memory representation. Use of this function allows to violate these requirements and invoke undefined behaviour in safe code.

受影響套件(2)

CVSS 分數

來源版本嚴重程度向量
osvCVSS 3.1CRITICAL9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

參考連結(5)