Vulnerability identifier: #VU36555
Vulnerability risk: High
CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-190
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 version 1.29.0, 1.28.0, 1.27.2, 1.27.1, 127.0, 126.2, 126.1, 126.0 contains a CWE-680: Integer Overflow to Buffer Overflow vulnerability in standard library that can result in buffer overflow. This attack appear to be exploitable via str::repeat, passed a large number, can overflow an internal buffer. This vulnerability appears to have been fixed in 1.29.1.
Mitigation
Install update from vendor's website.
Vulnerable software versions
Rust Programming Language: 1.26.0 - 1.29.0
External links
http://blog.rust-lang.org/2018/09/21/Security-advisory-for-std.html
http://groups.google.com/forum/#!topic/rustlang-security-announcements/CmSuTm-SaU0
http://security.gentoo.org/glsa/201812-11
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.