Red Hat Security Advisory: ntp security update
🔗 CVE IDs covered (3)
📋 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
🎯 Affected products18
- Red Hat Enterprise Linux (v. 5 server)
- Red Hat Enterprise Linux Desktop (v. 5 client)
- ntp-0:4.2.2p1-18.el5_11.i386 as a component of Red Hat Enterprise Linux (v. 5 server)
- ntp-0:4.2.2p1-18.el5_11.i386 as a component of Red Hat Enterprise Linux Desktop (v. 5 client)
- ntp-0:4.2.2p1-18.el5_11.ia64 as a component of Red Hat Enterprise Linux (v. 5 server)
- ntp-0:4.2.2p1-18.el5_11.ppc as a component of Red Hat Enterprise Linux (v. 5 server)
- ntp-0:4.2.2p1-18.el5_11.s390x as a component of Red Hat Enterprise Linux (v. 5 server)
- ntp-0:4.2.2p1-18.el5_11.src as a component of Red Hat Enterprise Linux (v. 5 server)
- ntp-0:4.2.2p1-18.el5_11.src as a component of Red Hat Enterprise Linux Desktop (v. 5 client)
- ntp-0:4.2.2p1-18.el5_11.x86_64 as a component of Red Hat Enterprise Linux (v. 5 server)
- ntp-0:4.2.2p1-18.el5_11.x86_64 as a component of Red Hat Enterprise Linux Desktop (v. 5 client)
- ntp-debuginfo-0:4.2.2p1-18.el5_11.i386 as a component of Red Hat Enterprise Linux (v. 5 server)
- ntp-debuginfo-0:4.2.2p1-18.el5_11.i386 as a component of Red Hat Enterprise Linux Desktop (v. 5 client)
- ntp-debuginfo-0:4.2.2p1-18.el5_11.ia64 as a component of Red Hat Enterprise Linux (v. 5 server)
- ntp-debuginfo-0:4.2.2p1-18.el5_11.ppc as a component of Red Hat Enterprise Linux (v. 5 server)
- ntp-debuginfo-0:4.2.2p1-18.el5_11.s390x as a component of Red Hat Enterprise Linux (v. 5 server)
- ntp-debuginfo-0:4.2.2p1-18.el5_11.x86_64 as a component of Red Hat Enterprise Linux (v. 5 server)
- ntp-debuginfo-0:4.2.2p1-18.el5_11.x86_64 as a component of Red Hat Enterprise Linux Desktop (v. 5 client)
✅ 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.
🔗 References (6)
- selfhttps://access.redhat.com/errata/RHSA-2014:2025
- 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
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2014/rhsa-2014_2025.json