{
  "threat_severity" : "Important",
  "public_date" : "2014-12-19T00:00:00Z",
  "bugzilla" : {
    "description" : "ntp: Multiple buffer overflows via specially-crafted packets",
    "id" : "1176037",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1176037"
  },
  "cvss" : {
    "cvss_base_score" : "6.8",
    "cvss_scoring_vector" : "AV:N/AC:M/Au:N/C:P/I:P/A:P",
    "status" : "verified"
  },
  "cwe" : "CWE-119",
  "details" : [ "Multiple stack-based buffer overflows in ntpd in NTP before 4.2.8 allow remote attackers to execute arbitrary code via a crafted packet, related to (1) the crypto_recv function when the Autokey Authentication feature is used, (2) the ctl_putdata function, and (3) the configure function.", "Multiple buffer overflow flaws were discovered in ntpd's crypto_recv(), ctl_putdata(), and configure() functions. A remote attacker could use either of these flaws to send a specially crafted request packet that could crash ntpd or, potentially, execute arbitrary code with the privileges of the ntp user. Note: the crypto_recv()  flaw requires non default configurations to be active, while the ctl_putdata() flaw, by default, can only be exploited via local attackers, and the configure() flaw requires additional authentication to exploit." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "release_date" : "2014-12-20T00:00:00Z",
    "advisory" : "RHSA-2014:2025",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5",
    "package" : "ntp-0:4.2.2p1-18.el5_11"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "release_date" : "2014-12-20T00:00:00Z",
    "advisory" : "RHSA-2014:2024",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6",
    "package" : "ntp-0:4.2.6p5-2.el6_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6.5 Extended Update Support",
    "release_date" : "2015-01-28T00:00:00Z",
    "advisory" : "RHSA-2015:0104",
    "cpe" : "cpe:/o:redhat:rhel_eus:6.5",
    "package" : "ntp-0:4.2.6p5-2.el6_5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2014-12-20T00:00:00Z",
    "advisory" : "RHSA-2014:2024",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "ntp-0:4.2.6p5-19.el7_0"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 4",
    "fix_state" : "Will not fix",
    "package_name" : "ntp",
    "cpe" : "cpe:/o:redhat:enterprise_linux:4"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2014-9295\nhttps://nvd.nist.gov/vuln/detail/CVE-2014-9295\nhttp://support.ntp.org/bin/view/Main/SecurityNotice#Buffer_overflow_in_crypto_recv\nhttps://access.redhat.com/articles/1305723" ],
  "name" : "CVE-2014-9295",
  "mitigation" : {
    "value" : "Add these lines (included by default starting with Red Hat Enterprise Linux 5) to the configuration file /etc/ntp.conf:\nrestrict default kod nomodify notrap nopeer noquery\nrestrict -6 default kod nomodify notrap nopeer noquery\nrestrict 127.0.0.1 \nrestrict -6 ::1\nThis restricts server-type functionality to localhost.  If ntpd needs to perform time service for specific hosts and networks, you have to list them with suitable restrict statements.",
    "lang" : "en:us"
  },
  "csaw" : false
}