{
  "threat_severity" : "Moderate",
  "public_date" : "2018-09-24T00:00:00Z",
  "bugzilla" : {
    "description" : "rust: Buffer overflow in str::repeat function in the standard library",
    "id" : "1632932",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1632932"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.4",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-119",
  "details" : [ "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.", "A buffer overflow vulnerability was discovered in Rust that affects the `str::repeat` function in the standard library. An attacker could abuse this flaw by controlling the arguments given to `str::repeat` and can cause a Rust program to overflow a buffer in memory, potentially leading to a crash or arbitrary code execution." ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "rust-toolset:rhel8/rust",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2018-1000810\nhttps://nvd.nist.gov/vuln/detail/CVE-2018-1000810\nhttps://blog.rust-lang.org/2018/09/21/Security-advisory-for-std.html" ],
  "name" : "CVE-2018-1000810",
  "csaw" : false
}