Security Update for ntp Package

ntp Updated 02 Oct 2025

Summary

01/11/2015
N/A
Yes i
Unrated
Not published

DSA-3388-1: ntp - security update. Affects ntp versions < 1:4.2.6.p5+dfsg-2+deb7u6. Fixed in 1:4.2.6.p5+dfsg-2+deb7u6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The ntp package is a Network Time Protocol daemon and utility program used for time synchronization on computer systems. It enables computers to maintain accurate time by synchronizing with NTP servers. This package is vulnerable to several security issues that could be exploited by attackers to cause denial of service, crash the daemon, or manipulate system time.

Vulnerability Detail

The vulnerabilities in the ntp package include:

  1. CVE-2015-5146: A flaw in ntpd's processing of remote configuration packets could allow an attacker with knowledge of the configuration password to crash the daemon.
  2. CVE-2015-5194: ntpd could crash due to an uninitialized variable when processing malformed logconfig configuration commands.
  3. CVE-2015-5195: ntpd exits with a segmentation fault when referencing a statistics type not enabled during compilation.
  4. CVE-2015-5219: The sntp program hangs in an infinite loop when receiving a crafted NTP packet, leading to a denial of service.
  5. CVE-2015-5300: ntpd does not correctly implement the -g option, allowing an attacker to step the clock multiple times by more than the panic threshold.
  6. CVE-2015-7691, CVE-2015-7692, CVE-2015-7702: Incomplete fix for a previous vulnerability, allowing malicious data to crash ntpd.
  7. CVE-2015-7701: A memory leak flaw in ntpd's CRYPTO_ASSOC could be exploited to exhaust memory.
  8. CVE-2015-7703: The :config command allows overwriting files on the file system.
  9. CVE-2015-7704: ntpd as an NTP client can be disabled by a crafted Kiss-of-Death packet.
  10. CVE-2015-7850: A specially crafted configuration file can cause an endless loop and denial of service.
  11. CVE-2015-7852: A potential buffer overflow in ntpq's cookedprint functionality.
  12. CVE-2015-7855: An authenticated attacker can crash ntpd by sending an unusually long data value in mode 6 or mode 7 packets.
  13. CVE-2015-7871: Improper error handling allows an off-path attacker to force ntpd processes to peer with time sources of their choosing, bypassing authentication.

How To Fix

Minimum fixed version

1:4.2.6.p5+dfsg-2+deb7u6

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ntp

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no specific workarounds mentioned for these vulnerabilities.

Conclusion

The ntp package is affected by multiple vulnerabilities that could lead to denial of service, system crashes, or manipulation of system time. It is crucial to update the package to the fixed versions mentioned above to mitigate these risks. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for ntp →

Share this vulnerability

FAQ

These vulnerabilities could allow attackers to crash the ntp daemon, manipulate system time, cause denial of service, or overwrite files on the file system.

No, remote configuration is disabled by default in NTP.

Yes, if the attacker can control the NTP traffic since ntpd was started or up to 15-30 minutes after that, they can prevent the client from reaching the sync state and force it to step its clock multiple times.

The -g option allows the time to be set to any value without restriction. However, it can only be used once, and if the offset exceeds the panic threshold after that, ntpd will exit with a message to the system log.

An attacker can force ntpd processes on targeted servers to peer with time sources of their choosing by transmitting symmetric active crypto-NAK packets. This bypasses the authentication typically required to establish a peer association and allows arbitrary changes to system time.

Related vulnerabilities

Recent vulnerabilities recorded for ntp.

How To Fix

Minimum fixed version

1:4.2.6.p5+dfsg-2+deb7u6

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ntp

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback