CVE-2015-5195: Input Validation

Published Aug 18, 2015
·
Updated

It was found that ntpd exits with a segmentation fault when a statistics type that was not enabled during compilation (e.g. timingstats) is referenced by the statistics or filegen configuration command, for example:

ntpq -c ':config statistics timingstats' ntpq -c ':config filegen timingstats'

Upstream patch:

http://bk.ntp.org/ntp-dev/?PAGE=patch&REV=4d253ed0A400LyhRQIV0u23NJwuGAA

(in 4.2.6, the code than handles NULL == filegen needs to be adjusted as the outer loop was changed from while to for)

Other sources

ntpopenssl.m4 in ntpd in NTP before 4.2.7p112 allows remote attackers to cause a denial of service (segmentation fault) via a crafted statistics or filegen configuration command that is not enabled during compilation.

MITRE

Affected Software

18 affected components
Fedoraproject Fedora=21
Fedoraproject Fedora=22
Fedoraproject Fedora=23
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Hpc Node=6.0
redhat Enterprise Linux Hpc Node=7.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.04
Canonical Ubuntu Linux=15.10
NTP ntp<=4.2.7

Event History

Aug 18, 2015
Data Sourced
11:19 AM
DescriptionSeverityAffected Software
Jul 21, 2017
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2015-5195?

CVE-2015-5195 has been classified as a moderate severity vulnerability due to the potential for denial of service through segmentation faults.

2

How do I fix CVE-2015-5195?

To fix CVE-2015-5195, update your NTP software to a version that addresses this segmentation fault issue.

3

Which versions are affected by CVE-2015-5195?

CVE-2015-5195 affects several versions of NTP across Fedora, Red Hat Enterprise Linux, Debian, and Ubuntu distributions.

4

What causes the CVE-2015-5195 vulnerability?

The vulnerability is caused by NTP exiting with a segmentation fault when referencing a statistics type that was not enabled during compilation.

5

Is CVE-2015-5195 being actively exploited?

There is currently no evidence that CVE-2015-5195 is being actively exploited in the wild.

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