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

 

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

Published: October 8, 2018 / Updated: August 8, 2020


Vulnerability identifier: #VU36555
CSH Severity: High
CVSS v4: 9.3 [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]
CVE-ID: CVE-2018-1000810
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Rust Programming Language
Fedora
rust

How to mitigate CVE-2018-1000810

Install update from vendor's website.

rust - addressed in versions 1.29.1-2.el7, 1.29.1-2.fc27, 1.29.1-2.fc28, 1.29.1-2.fc29

External References

Related Security Bulletins