原始描述
The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, can violate Rust's safety guarantees and cause memory unsafety. If the `Error::type_id` method is overridden then any type can be safely cast to any other type, causing memory safety vulnerabilities in safe code (e.g., out-of-bounds write or read). Code that does not manually implement Error::type_id is unaffected.
受影响的软件
- Rust ≥ 1.34.0 < 1.34.2 修复版本: 1.34.2 精确匹配
详情
- 发布日期
- 2019-05-13
- 最后修改
- 2026-06-17
- CVSS 向量
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-125, CWE-787
- EPSS(30 天内被利用概率)
- 2.22% (百分位 83)
参考资料
- cve.org/CVE-2019-12083
- nvd.nist.gov/vuln/detail/CVE-2019-12083
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00076.html
- lists.opensuse.org/opensuse-security-announce/2019-10/msg00006.html
- lists.opensuse.org/opensuse-security-announce/2019-10/msg00031.html
- blog.rust-lang.org/2019/05/13/Security-advisory.html
- groups.google.com/forum/#%21topic/rustlang-security-announcements/aZabeCMUv70
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K...
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。