• 公告ID (KylinSec-SA-2022-2329)

摘要:

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.

安全等级: Low

公告ID: KylinSec-SA-2022-2329

发布日期: 2022年9月29日

关联CVE: CVE-2019-12083  

  • 详细介绍

1. 漏洞描述

   

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.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2019-12083 KY3.4-4A rust Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2022-2328 下一篇:KylinSec-SA-2022-2330