CVE-2015-7978: Buffer Overflow
A stack-based buffer overflow was found in the way ntpd processed 'ntpdc reslist' commands that queried restriction lists with a large amount of entries. A remote attacker could use this flaw to crash the ntpd process.
Upstream patch (which also addresses CVE-2015-7977):
https://github.com/ntp-project/ntp/commit/8a0c765f3c47633fa262356b0818788d1cf249b1
Other sources
NTP before 4.2.8p6 and 4.3.0 before 4.3.90 allows a remote attackers to cause a denial of service (stack exhaustion) via an ntpdc relist command, which triggers recursive traversal of the restriction list.
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.8p6 - 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-7978?
CVE-2015-7978 has a medium severity score due to its potential to cause denial of service.
How do I fix CVE-2015-7978?
To fix CVE-2015-7978, upgrade to NTP version 4.2.8p12+dfsg-4 or later.
What versions of NTP are affected by CVE-2015-7978?
NTP versions before 4.2.8p6 and 4.3.0 before 4.3.90 are affected by CVE-2015-7978.
What type of attack does CVE-2015-7978 facilitate?
CVE-2015-7978 can be exploited to perform a denial of service attack through stack exhaustion.
Is there a known exploit for CVE-2015-7978?
Yes, CVE-2015-7978 is known to be exploited via the ntpdc relist command to trigger recursive traversal.