{
  "threat_severity" : "Moderate",
  "public_date" : "2008-06-20T00:00:00Z",
  "bugzilla" : {
    "description" : "ruby: Integer overflows in rb_str_buf_append()",
    "id" : "450821",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=450821"
  },
  "cwe" : "CWE-190",
  "details" : [ "Multiple integer overflows in the rb_str_buf_append function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2 allow context-dependent attackers to execute arbitrary code or cause a denial of service via unknown vectors that trigger memory corruption, a different issue than CVE-2008-2663, CVE-2008-2664, and CVE-2008-2725.  NOTE: as of 20080624, there has been inconsistent usage of multiple CVE identifiers related to Ruby. This CVE description should be regarded as authoritative, although it is likely to change." ],
  "acknowledgement" : "Red Hat would like to thank Drew Yao (Apple Product Security team) for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 4",
    "release_date" : "2008-07-14T00:00:00Z",
    "advisory" : "RHSA-2008:0561",
    "cpe" : "cpe:/o:redhat:enterprise_linux:4",
    "package" : "ruby-0:1.8.1-7.el4_6.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 5",
    "release_date" : "2008-07-14T00:00:00Z",
    "advisory" : "RHSA-2008:0561",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5",
    "package" : "ruby-0:1.8.5-5.el5_2.3"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Hardened Images",
    "fix_state" : "Affected",
    "package_name" : "ruby",
    "cpe" : "cpe:/a:redhat:hummingbird:1"
  }, {
    "product_name" : "Red Hat Hardened Images",
    "fix_state" : "Affected",
    "package_name" : "ruby3.3",
    "cpe" : "cpe:/a:redhat:hummingbird:1"
  }, {
    "product_name" : "Red Hat Hardened Images",
    "fix_state" : "Affected",
    "package_name" : "ruby3.4",
    "cpe" : "cpe:/a:redhat:hummingbird:1"
  }, {
    "product_name" : "Red Hat Hardened Images",
    "fix_state" : "Affected",
    "package_name" : "ruby4.0",
    "cpe" : "cpe:/a:redhat:hummingbird:1"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2008-2662\nhttps://nvd.nist.gov/vuln/detail/CVE-2008-2662" ],
  "name" : "CVE-2008-2662",
  "csaw" : false
}