Bug 1433995 (CVE-2017-6462) - CVE-2017-6462 ntp: Buffer Overflow in DPTS Clock
Summary: CVE-2017-6462 ntp: Buffer Overflow in DPTS Clock
Alias: CVE-2017-6462
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL: http://bugs.ntp.org/show_bug.cgi?id=3388
Depends On: 1435163 1437714 1437715 1437716 1437717 1499184
Blocks: 1434021 1498774
TreeView+ depends on / blocked
Reported: 2017-03-20 14:01 UTC by Adam Mariš
Modified: 2021-03-11 15:04 UTC (History)
14 users (show)

Fixed In Version: ntp 4.2.8p10, ntp 4.3.94
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in NTP, in the parsing of packets from the /dev/datum device. A malicious device could send crafted messages, causing ntpd to crash.
Clone Of:
Last Closed: 2017-10-26 07:10:45 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3071 0 normal SHIPPED_LIVE Moderate: ntp security update 2017-10-26 11:03:10 UTC
Red Hat Product Errata RHSA-2018:0855 0 None None None 2018-04-10 08:26:41 UTC

Description Adam Mariš 2017-03-20 14:01:26 UTC
There is a potential for a buffer overflow in the legacy Datum Programmable Time Server refclock driver.  Here the packets are processed from the /dev/datum device and handled in datum_pts_receive().  Since an attacker would be required to somehow control a malicious /dev/datum device, this does not appear to be a practical attack and renders this issue "Low" in terms of severity.

Affects: All versions of NTP, up to but not including ntp-4.2.8p10, and ntp-4.3.0 up to, but not including ntp-4.3.94.


Properly monitor your ntpd instances, and auto-restart ntpd (without -g) if it stops running.

Comment 1 Adam Mariš 2017-03-20 14:01:32 UTC

Name: the NTP project
Upstream: Cure53

Comment 4 Adam Mariš 2017-03-23 10:08:20 UTC
Created ntp tracking bugs for this issue:

Affects: fedora-all [bug 1435163]

Comment 6 Karel Volný 2017-04-03 08:53:56 UTC
do we have a reproducer for this?

Comment 8 Kurt Seifried 2017-04-07 19:30:54 UTC
(In reply to Karel Volný from comment #6)
> do we have a reproducer for this?

We do not have a reproducer for this flaw, nor can I easily find one online, sorry.

Comment 15 errata-xmlrpc 2017-10-26 07:03:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2017:3071 https://access.redhat.com/errata/RHSA-2017:3071

Comment 16 errata-xmlrpc 2018-04-10 08:26:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:0855 https://access.redhat.com/errata/RHSA-2018:0855

Note You need to log in before you can comment on or make changes to this bug.