CVE-2015-8158: Medium severity NTP ntp vulnerability
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
Other sources
The getresponse function in ntpq in NTP versions before 4.2.8p9 and 4.3.x before 4.3.90 allows remote attackers to cause a denial of service (infinite loop) via crafted packets with incorrect values.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/ntpto a version that resolves this vulnerability.Fixed in 4.2.8 - Upgrade
Upgrade
debian/ntpto a version that resolves this vulnerability.Fixed in 1:4.2.8p7+dfsg-1 - Upgrade
Upgrade
debian/ntpto a version that resolves this vulnerability.Fixed in 1:4.2.6.p5+dfsg-2+deb7u7Fixed in 1:4.2.6.p5+dfsg-7+deb8u2Fixed in 1:4.2.8p7+dfsg-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.2.8p9 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.3.90
Event History
Frequently Asked Questions
What is the severity of CVE-2015-8158?
CVE-2015-8158 has a severity rating of medium due to its potential to cause denial of service.
How do I fix CVE-2015-8158?
To fix CVE-2015-8158, upgrade to NTP versions 4.2.8p9 or 4.3.90 or later.
What are the affected software versions for CVE-2015-8158?
CVE-2015-8158 affects NTP versions before 4.2.8p9 and 4.3.x prior to 4.3.90.
Can CVE-2015-8158 be exploited remotely?
Yes, CVE-2015-8158 can be exploited remotely by attackers sending crafted packets.
What type of vulnerability is CVE-2015-8158?
CVE-2015-8158 is categorized as a denial of service vulnerability.