ID CVE-2018-1000810
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:rust-lang:rust:1.26.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.26.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.26.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.26.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.26.2:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.26.2:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.27.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.27.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.27.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.27.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.27.2:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.27.2:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.28.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.28.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.29.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.29.0:*:*:*:*:*:*:*
CVSS
Base: 7.5 (as of 04-01-2019 - 16:03)
Impact:
Exploitability:
CWE CWE-190
CAPEC
  • Forced Integer Overflow
    This attack forces an integer variable to go out of range. The integer variable is often used as an offset such as size of memory allocation or similarly. The attacker would typically control the value of such variable and try to get it out of range. For instance the integer in question is incremented past the maximum possible value, it may wrap to become a very small, or negative number, therefore providing a very incorrect value which can lead to unexpected behavior. At worst the attacker can execute arbitrary code.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:P/A:P
refmap via4
confirm
gentoo GLSA-201812-11
Last major update 04-01-2019 - 16:03
Published 08-10-2018 - 15:29
Last modified 04-01-2019 - 16:03
Back to Top