{
  "threat_severity" : "Moderate",
  "public_date" : "2012-07-10T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: cred: copy_process() should clear child->replacement_session_keyring",
    "id" : "833428",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=833428"
  },
  "cvss" : {
    "cvss_base_score" : "4.7",
    "cvss_scoring_vector" : "AV:L/AC:M/Au:N/C:N/I:N/A:C",
    "status" : "verified"
  },
  "details" : [ "The copy_creds function in kernel/cred.c in the Linux kernel before 3.3.2 provides an invalid replacement session keyring to a child process, which allows local users to cause a denial of service (panic) via a crafted application that uses the fork system call." ],
  "statement" : "This issue did not affect the versions of the Linux kernel as shipped with Red \nHat Enterprise Linux 5 as they did not include support for \nKEYCTL_SESSION_TO_PARENT keyctl IOCTL as introduced in upstream commit ee18d64c. \nThis issue did not affect the versions of the Linux kernel as shipped with Red \nHat Enterprise Linux MRG 2 as they already contain the fix.\nThis issue was addressed in Red Hat Enterprise Linux 6 via RHSA-2012:1064 https://rhn.redhat.com/errata/RHSA-2012-1064.html.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "release_date" : "2012-07-10T00:00:00Z",
    "advisory" : "RHSA-2012:1064",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6",
    "package" : "kernel-0:2.6.32-279.1.1.el6"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise MRG 2",
    "fix_state" : "Not affected",
    "package_name" : "realtime-kernel",
    "cpe" : "cpe:/a:redhat:enterprise_mrg:2"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2012-2745\nhttps://nvd.nist.gov/vuln/detail/CVE-2012-2745" ],
  "name" : "CVE-2012-2745",
  "csaw" : false
}