CVE-2018-7184
ntpd in ntp 4.2.8p4 before 4.2.8p11 drops bad packets before updating the "received" timestamp, which allows remote attackers to cause a denial of service (disruption) by sending a packet with a zero-origin timestamp causing the association to reset and setting the contents of the packet as the most recent timestamp. This issue is a result of an incomplete fix for CVE-2015-7704.
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Red Hat has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | ntp | Fixed | 1:4.2.8p10+dfsg-5ubuntu7.1 | UBUNTU-CVE-2018-7184 |
| Ubuntu 16.04 | ntp | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 8 | ntp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | ntp | Not affected | ||
| Red Hat Enterprise Linux 7 | ntp-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | ntp-perl | Not affected | ||
| Red Hat Enterprise Linux 7 | ntpdate | Not affected | ||
| Red Hat Enterprise Linux 7 | sntp | Not affected | ||
| Red Hat Enterprise Linux 6 | ntp | Not affected | ||
| Red Hat Enterprise Linux 6 | ntp-doc | Not affected | ||
| Red Hat Enterprise Linux 6 | ntp-perl | Not affected | ||
| Red Hat Enterprise Linux 6 | ntpdate | Not affected | ||
| Red Hat Enterprise Linux 5 | ntp | Not affected |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://security.gentoo.org/glsa/201805-12 (vendor-advisory)
- https://security.FreeBSD.org/advisories/FreeBSD-SA-18:02.ntp.asc (vendor-advisory)
- https://usn.ubuntu.com/3707-1/ (vendor-advisory)
References
- http://packetstormsecurity.com/files/146631/Slackware-Security-Advisory-ntp-Updates.html
- http://www.securityfocus.com/bid/103192
- https://security.gentoo.org/glsa/201805-12
- https://security.FreeBSD.org/advisories/FreeBSD-SA-18:02.ntp.asc
- https://security.netapp.com/advisory/ntap-20180626-0001/
- http://www.securityfocus.com/archive/1/541824/100/0/threaded
- http://support.ntp.org/bin/view/Main/NtpBug3453
- https://usn.ubuntu.com/3707-1/
- https://www.synology.com/support/security/Synology_SA_18_13
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.