CVE-2014-9295: Buffer Overflow

Published Dec 19, 2014
·
Updated

As per upstream NTP security advisory, multiple buffer overflows were reported in ntp daemon, details provided below

Buffer overflow in cryptorecv()

When Autokey Authentication is enabled (i.e. the ntp.conf file contains a 'crypto pw ...' directive) a remote attacker can send a carefully crafted packet that can overflow a stack buffer and potentially allow malicious code to be executed with the privilege level of the ntpd process. This vulnerability was discovered by Stephen Roettger of the Google Security Team.

Mitigation: Disable Autokey Authentication by removing, or commenting out, all configuration directives beginning with the crypto keyword in your ntp.conf file.

Buffer overflow in ctlputdata()

A remote attacker can send a carefully crafted packet that can overflow a stack buffer and potentially allow malicious code to be executed with the privilege level of the ntpd process. This vulnerability was discovered by Stephen Roettger of the Google Security Team.

Buffer overflow in configure()

A remote attacker can send a carefully crafted packet that can overflow a stack buffer and potentially allow malicious code to be executed with the privilege level of the ntpd process. This vulnerability was discovered by Stephen Roettger of the Google Security Team.

Other sources

Multiple stack-based buffer overflows in ntpd in NTP before 4.2.8 allow remote attackers to execute arbitrary code via a crafted packet, related to (1) the cryptorecv function when the Autokey Authentication feature is used, (2) the ctlputdata function, and (3) the configure function.

MITRE

Affected Software

2 affected componentsFixes available
redhat/ntp<4.2.8
4.2.8
NTP ntp<=4.2.7

Event History

Dec 20, 2014
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2014-9295?

CVE-2014-9295 has been classified with a high severity due to its potential for remote code execution through buffer overflows.

2

How do I fix CVE-2014-9295?

To fix CVE-2014-9295, update the NTP daemon to version 4.2.8 or later where the vulnerabilities have been addressed.

3

What systems are affected by CVE-2014-9295?

CVE-2014-9295 affects NTP versions up to and including 4.2.7, and specifically instances where Autokey Authentication is enabled.

4

Can CVE-2014-9295 be exploited remotely?

Yes, CVE-2014-9295 can be exploited remotely by attackers who can send specially crafted packets to the vulnerable NTP daemon.

5

What types of attacks are possible with CVE-2014-9295?

Exploitation of CVE-2014-9295 can lead to buffer overflows that may result in remote code execution or denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203