#VU31073 Buffer overflow in Rust Programming Language - CVE-2019-12083

 

#VU31073 Buffer overflow in Rust Programming Language - CVE-2019-12083

Published: May 13, 2019 / Updated: July 17, 2020


Vulnerability identifier: #VU31073
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2019-12083
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Rust Programming Language
Software 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.


Remediation

Install update from vendor's website.

External links