Bug 1300273 (CVE-2015-8158) - CVE-2015-8158 ntp: potential infinite loop in ntpq
Summary: CVE-2015-8158 ntp: potential infinite loop in ntpq
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2015-8158
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1300277 1317795
Blocks: 1297474 1323912
TreeView+ depends on / blocked
 
Reported: 2016-01-20 11:43 UTC by Martin Prpič
Modified: 2021-02-17 04:29 UTC (History)
2 users (show)

Fixed In Version: ntp 4.2.8p6
Doc Type: Bug Fix
Doc Text:
A flaw was found in the way the ntpq client processed certain incoming packets in a loop in the getresponse() function. A remote attacker could potentially use this flaw to crash an ntpq client instance.
Clone Of:
Environment:
Last Closed: 2016-01-20 14:36:00 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2583 0 normal SHIPPED_LIVE Moderate: ntp security and bug fix update 2016-11-03 12:08:36 UTC

Description Martin Prpič 2016-01-20 11:43:48 UTC
A flaw was found in the way the ntpq client certain processed incoming packets in a loop in the getresponse() function:

The loop's only stopping conditions are receiving a complete and correct response or hitting a small number of error conditions. If the packet contains incorrect values that don't trigger one of the error conditions, the loop continues to receive new packets.

A remote attacker could potentially use this flaw to crash an ntpq client instance. This attack requires the attacker to do one of the following:

* Own a malicious NTP server that the client trusts

* Prevent a legitimate NTP server from sending packets to the 'ntpq' client

* MITM the 'ntpq' communications between the 'ntpq' client and the NTP server

Comment 2 Martin Prpič 2016-01-20 12:02:11 UTC
Created ntp tracking bugs for this issue:

Affects: fedora-all [bug 1300277]

Comment 3 Martin Prpič 2016-01-20 14:36:00 UTC
Statement:

Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Comment 4 Fedora Update System 2016-01-30 18:21:29 UTC
ntp-4.2.6p5-36.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2016-02-21 02:25:00 UTC
ntp-4.2.6p5-36.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 errata-xmlrpc 2016-11-03 19:33:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:2583 https://rhn.redhat.com/errata/RHSA-2016-2583.html


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