CVE-2015-5194: Input Validation

Published Aug 18, 2015
·
Updated

It was found that ntpd could crash due to an uninitialized variable when processing malformed logconfig configuration commands, for example:

ntpq -c ":config logconfig a"

Upstream patch:

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

Other sources

The logconfigcommand function in ntpparser.y in ntpd in NTP before 4.2.7p42 allows remote attackers to cause a denial of service (ntpd crash) via crafted logconfig commands.

— MITRE

Affected Software

27 affected componentsFixes available
Fedoraproject Fedora=21
Fedoraproject Fedora=22
SUSE Linux Enterprise Debuginfo=11-sp2
SUSE Linux Enterprise Debuginfo=11-sp3
SUSE Linux Enterprise Server=10-sp4
SUSE Linux Enterprise Server=11-sp2
SUSE Linux Enterprise Server=11-sp3
SUSE Manager=2.1
SUSE Manager Proxy=2.1
SUSE Openstack Cloud=5
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
debian/ntp<1:4.2.8p3+dfsg-1
1:4.2.8p3+dfsg-1
debian/ntp
1:4.2.6.p2+dfsg-1+deb6u41:4.2.6.p5+dfsg-2+deb7u61:4.2.6.p5+dfsg-7+deb8u11:4.2.8p3+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/ntp to a version that resolves this vulnerability.

    Fixed in 1:4.2.8p3+dfsg-1
  2. Upgrade

    Upgrade debian/ntp to a version that resolves this vulnerability.

    Fixed in 1:4.2.6.p2+dfsg-1+deb6u4Fixed in 1:4.2.6.p5+dfsg-2+deb7u6Fixed in 1:4.2.6.p5+dfsg-7+deb8u1Fixed in 1:4.2.8p3+dfsg-1
  3. Upgrade

    Upgrade NTP to a version that resolves this vulnerability.

    Fixed in 4.2.7p42

Event History

Aug 18, 2015
Data Sourced
11:12 AM
DescriptionSeverityAffected Software
Jul 21, 2017
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
02:29 PM
RemedyWeakness
Data Sourced
via OSV·02:29 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·02:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 29, 2019
Data Sourced
via Red Hat·01:36 PM
DescriptionSeverityAffected Software
Nov 24, 2026
Withdrawn
via OSV·04:28 AM

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2015-5194?

CVE-2015-5194 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2015-5194?

To fix CVE-2015-5194, ensure you apply the patches provided by your operating system vendor.

3

Which versions of ntpd are affected by CVE-2015-5194?

ntpd versions prior to 4.2.8 are vulnerable to CVE-2015-5194.

4

What systems are impacted by CVE-2015-5194?

CVE-2015-5194 affects various systems including Fedora, SUSE, Red Hat, and Debian distributions.

5

Can CVE-2015-5194 cause crashes?

Yes, CVE-2015-5194 can lead to crashes of ntpd when processing malformed logconfig commands.

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