Red Hat Security Advisory: ntp security update
🔗 CVE IDs covered (4)
📋 Description
CVE-2014-9293 — ntp: automatic generation of weak default key in config_auth() CVE-2014-9294 — ntp: ntp-keygen uses weak random number generator and seed when generating MD5 keys CVE-2014-9295 — ntp: Multiple buffer overflows via specially-crafted packets CVE-2014-9296 — ntp: receive() missing return on error
🎯 Affected products111
- Red Hat Enterprise Linux Client (v. 7)
- Red Hat Enterprise Linux Client Optional (v. 7)
- Red Hat Enterprise Linux ComputeNode (v. 7)
- Red Hat Enterprise Linux ComputeNode Optional (v. 7)
- Red Hat Enterprise Linux Desktop (v. 6)
- Red Hat Enterprise Linux Desktop Optional (v. 6)
- Red Hat Enterprise Linux HPC Node (v. 6)
- Red Hat Enterprise Linux HPC Node Optional (v. 6)
- Red Hat Enterprise Linux Server (v. 6)
- Red Hat Enterprise Linux Server (v. 7)
- Red Hat Enterprise Linux Server Optional (v. 6)
- Red Hat Enterprise Linux Server Optional (v. 7)
- Red Hat Enterprise Linux Workstation (v. 6)
- Red Hat Enterprise Linux Workstation (v. 7)
- Red Hat Enterprise Linux Workstation Optional (v. 6)
- Red Hat Enterprise Linux Workstation Optional (v. 7)
- ntp-0:4.2.6p5-19.el7_0.ppc64 as a component of Red Hat Enterprise Linux Server (v. 7)
- ntp-0:4.2.6p5-19.el7_0.s390x as a component of Red Hat Enterprise Linux Server (v. 7)
- ntp-0:4.2.6p5-19.el7_0.src as a component of Red Hat Enterprise Linux Client (v. 7)
- ntp-0:4.2.6p5-19.el7_0.src as a component of Red Hat Enterprise Linux ComputeNode (v. 7)
- ntp-0:4.2.6p5-19.el7_0.src as a component of Red Hat Enterprise Linux Server (v. 7)
- ntp-0:4.2.6p5-19.el7_0.src as a component of Red Hat Enterprise Linux Workstation (v. 7)
- ntp-0:4.2.6p5-19.el7_0.x86_64 as a component of Red Hat Enterprise Linux Client (v. 7)
- ntp-0:4.2.6p5-19.el7_0.x86_64 as a component of Red Hat Enterprise Linux ComputeNode (v. 7)
- ntp-0:4.2.6p5-19.el7_0.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
- ntp-0:4.2.6p5-19.el7_0.x86_64 as a component of Red Hat Enterprise Linux Workstation (v. 7)
- ntp-0:4.2.6p5-2.el6_6.i686 as a component of Red Hat Enterprise Linux Desktop (v. 6)
- ntp-0:4.2.6p5-2.el6_6.i686 as a component of Red Hat Enterprise Linux Server (v. 6)
- ntp-0:4.2.6p5-2.el6_6.i686 as a component of Red Hat Enterprise Linux Workstation (v. 6)
- ntp-0:4.2.6p5-2.el6_6.ppc64 as a component of Red Hat Enterprise Linux Server (v. 6)
- +81 more not shown
✅ Remediation
Before applying this update, make sure all previously released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/articles/11258 Workaround: Issue these commands to explicitly generate a strong key and add it to the ntpd configuration: echo trustedkey 65535 >> /etc/ntp.conf printf "65535\tM\t%s\n" $(tr -cd a-zA-Z0-9 < /dev/urandom | head -c 16) >> /etc/ntp/keys The generated key has about 95 bits of entropy. Workaround: Add these lines (included by default starting with Red Hat Enterprise Linux 5) to the configuration file /etc/ntp.conf: restrict default kod nomodify notrap nopeer noquery restrict -6 default kod nomodify notrap nopeer noquery restrict 127.0.0.1 restrict -6 ::1 This 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. Workaround: Remove or comment out all configuration directives beginning with the crypto keyword in your ntp.conf file.
🔗 References (7)
- selfhttps://access.redhat.com/errata/RHSA-2014:2024
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1176032
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1176035
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1176037
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1176040
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2014/rhsa-2014_2024.json