{
  "threat_severity" : "Moderate",
  "public_date" : "2009-11-12T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: use flag in do_coredump()",
    "id" : "537273",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=537273"
  },
  "cvss" : {
    "cvss_base_score" : "1.9",
    "cvss_scoring_vector" : "AV:L/AC:M/Au:N/C:N/I:P/A:N",
    "status" : "verified"
  },
  "details" : [ "The do_coredump function in fs/exec.c in the Linux kernel 2.6.19 sets the flag variable to O_EXCL but does not use it, which allows context-dependent attackers to modify arbitrary files via a rewrite attack during a core dump." ],
  "statement" : "This issue did not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 3, 4 and Red Hat Enterprise MRG. Shipped kernels do not include upstream commit d025c9db that introduced the problem.\nThis upstream commit was backported in Red Hat Enterprise Linux 5 via RHSA-2009:0225. It was later reported and addressed in Red Hat Enterprise Linux 5 via RHSA-2010:0046.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "release_date" : "2010-01-19T00:00:00Z",
    "advisory" : "RHSA-2010:0046",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5",
    "package" : "kernel-0:2.6.18-164.11.1.el5"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2006-6304\nhttps://nvd.nist.gov/vuln/detail/CVE-2006-6304" ],
  "name" : "CVE-2006-6304",
  "csaw" : false
}