#VU36555 Integer overflow in Rust Programming Language - CVE-2018-1000810


| Updated: 2020-08-08

Vulnerability identifier: #VU36555

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2018-1000810

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
https://blog.rust-lang.org/2018/09/21/Security-advisory-for-std.html
https://groups.google.com/forum/#!topic/rustlang-security-announcements/CmSuTm-SaU0
https://security.gentoo.org/glsa/201812-11


Q & A

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.


Latest bulletins with this vulnerability