Vulnerability identifier: #VU31073
Vulnerability risk: High
CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-119
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Rust Programming Language
Universal components / Libraries /
Programming Languages & Components
Vendor: Rust Team
Description
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
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.
Mitigation
Install update from vendor's website.
Vulnerable software versions
Rust Programming Language: 1.34.0 - 1.34.1
External links
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00076.html
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00006.html
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00031.html
http://blog.rust-lang.org/2019/05/13/Security-advisory.html
http://groups.google.com/forum/#!topic/rustlang-security-announcements/aZabeCMUv70
http://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HG47HYH3AQTUMBUMX3S3G5DNAY4CBW6N/
http://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/K6T4BNA5KQYJRIKIGGBOGBMR7TRXPHLR/
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.