ntp-keygen in ntp 4.2.8px before 4.2.8p2-RC2 and 4.3.x before 4.3.12 does not generate…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 16 fixed, 1 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.
Summary
ntp-keygen in ntp 4.2.8px before 4.2.8p2-RC2 and 4.3.x before 4.3.12 does not generate MD5 keys with sufficient entropy on big endian machines when the lowest order byte of the temp variable is between 0x20 and 0x7f and not #, which might allow remote attackers to obtain the value of generated MD5 keys via a brute force attack with the 93 possible keys.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 28
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ntp:ntp:4.2.8:p1:*:*:*:*:*:* | 4.2.8 p1 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.2.8:p2:*:*:*:*:*:* | 4.2.8 p2 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.2.8:p2-rc1:*:*:*:*:*:* | 4.2.8 p2-rc1 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.3.0:*:*:*:*:*:*:* | 4.3.0 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.3.1:*:*:*:*:*:*:* | 4.3.1 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.3.2:*:*:*:*:*:*:* | 4.3.2 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.3.3:*:*:*:*:*:*:* | 4.3.3 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.3.4:*:*:*:*:*:*:* | 4.3.4 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.3.5:*:*:*:*:*:*:* | 4.3.5 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.3.6:*:*:*:*:*:*:* | 4.3.6 | Vulnerable | NTP Project |
- cpe:2.3:a:ntp:ntp:4.2.8:p1:*:*:*:*:*:* Versions 4.2.8 p1 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.2.8:p2:*:*:*:*:*:* Versions 4.2.8 p2 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.2.8:p2-rc1:*:*:*:*:*:* Versions 4.2.8 p2-rc1 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.3.0:*:*:*:*:*:*:* Versions 4.3.0 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.3.1:*:*:*:*:*:*:* Versions 4.3.1 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.3.2:*:*:*:*:*:*:* Versions 4.3.2 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.3.3:*:*:*:*:*:*:* Versions 4.3.3 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.3.4:*:*:*:*:*:*:* Versions 4.3.4 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.3.5:*:*:*:*:*:*:* Versions 4.3.5 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.3.6:*:*:*:*:*:*:* Versions 4.3.6 Vulnerable ·NTP Project
Show 18 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ntp:ntp:4.3.7:*:*:*:*:*:*:* | 4.3.7 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.3.8:*:*:*:*:*:*:* | 4.3.8 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.3.9:*:*:*:*:*:*:* | 4.3.9 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.3.10:*:*:*:*:*:*:* | 4.3.10 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.3.11:*:*:*:*:*:*:* | 4.3.11 | Vulnerable | NTP Project |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:opensuse:suse_linux_enterprise_server:11.0:sp3:*:*:*:*:*:* | 11.0 sp3 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse_project:suse_linux_enterprise_desktop:11.0:sp3:*:*:*:*:*:* | 11.0 sp3 | Vulnerable | Opensuse Project |
| cpe:2.3:o:suse:suse_linux_enterprise_server:11.0:sp3:*:*:*:vmware:*:* | 11.0 sp3 | Vulnerable | SUSE |
| cpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:* | 21 | Vulnerable | Fedoraproject |
| cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_power_big_endian:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_scientific_computing:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_from_rhui_6:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
- cpe:2.3:a:ntp:ntp:4.3.7:*:*:*:*:*:*:* Versions 4.3.7 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.3.8:*:*:*:*:*:*:* Versions 4.3.8 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.3.9:*:*:*:*:*:*:* Versions 4.3.9 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.3.10:*:*:*:*:*:*:* Versions 4.3.10 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.3.11:*:*:*:*:*:*:* Versions 4.3.11 Vulnerable ·NTP Project
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:opensuse:suse_linux_enterprise_server:11.0:sp3:*:*:*:*:*:* Versions 11.0 sp3 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse_project:suse_linux_enterprise_desktop:11.0:sp3:*:*:*:*:*:* Versions 11.0 sp3 Vulnerable ·Opensuse Project
- cpe:2.3:o:suse:suse_linux_enterprise_server:11.0:sp3:*:*:*:vmware:*:* Versions 11.0 sp3 Vulnerable ·SUSE
- cpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:* Versions 21 Vulnerable ·Fedoraproject
- cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_power_big_endian:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_scientific_computing:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_from_rhui_6:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
Remediation
Red Hat 2 advisories
- RHSA-2015:2231 Released 2015-11-19 · Red Hat rating Moderatentp security, bug fix, and enhancement update
- Red Hat Enterprise Linux Client (v. 7) ntp-4.2.6p5-22.el7, ntpdate-4.2.6p5-22.el7
- Red Hat Enterprise Linux Client Optional (v. 7) ntp-doc-4.2.6p5-22.el7, ntp-perl-4.2.6p5-22.el7, sntp-4.2.6p5-22.el7
- Red Hat Enterprise Linux ComputeNode (v. 7) ntp-4.2.6p5-22.el7, ntpdate-4.2.6p5-22.el7
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) ntp-doc-4.2.6p5-22.el7, ntp-perl-4.2.6p5-22.el7, sntp-4.2.6p5-22.el7
- Red Hat Enterprise Linux Server (v. 7) ntp-4.2.6p5-22.el7, ntpdate-4.2.6p5-22.el7
- Red Hat Enterprise Linux Server Optional (v. 7) ntp-doc-4.2.6p5-22.el7, ntp-perl-4.2.6p5-22.el7, sntp-4.2.6p5-22.el7
- Red Hat Enterprise Linux Workstation (v. 7) ntp-4.2.6p5-22.el7, ntpdate-4.2.6p5-22.el7
- Red Hat Enterprise Linux Workstation Optional (v. 7) ntp-doc-4.2.6p5-22.el7, ntp-perl-4.2.6p5-22.el7, sntp-4.2.6p5-22.el7
- RHSA-2015:1459 Released 2015-07-21 · Red Hat rating Moderatentp security, bug fix, and enhancement update
- Red Hat Enterprise Linux Desktop (v. 6) ntp-4.2.6p5-5.el6, ntpdate-4.2.6p5-5.el6
- Red Hat Enterprise Linux Desktop Optional (v. 6) ntp-doc-4.2.6p5-5.el6, ntp-perl-4.2.6p5-5.el6
- Red Hat Enterprise Linux HPC Node (v. 6) ntp-4.2.6p5-5.el6, ntpdate-4.2.6p5-5.el6
- Red Hat Enterprise Linux HPC Node Optional (v. 6) ntp-doc-4.2.6p5-5.el6, ntp-perl-4.2.6p5-5.el6
- Red Hat Enterprise Linux Server (v. 6) ntp-4.2.6p5-5.el6, ntpdate-4.2.6p5-5.el6
- Red Hat Enterprise Linux Server Optional (v. 6) ntp-doc-4.2.6p5-5.el6, ntp-perl-4.2.6p5-5.el6
- Red Hat Enterprise Linux Workstation (v. 6) ntp-4.2.6p5-5.el6, ntpdate-4.2.6p5-5.el6
- Red Hat Enterprise Linux Workstation Optional (v. 6) ntp-doc-4.2.6p5-5.el6, ntp-perl-4.2.6p5-5.el6
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2015:2231 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2015:2231 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2015:2231 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2015:2231 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2015:1459 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2015:1459 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2015:1459 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2015:1459 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2015:1459 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2015:2231 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2015:1459 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2015:2231 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2015:1459 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2015:2231 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2015:1459 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2015:2231 |
Timeline
- 2026-10-02 Threatist record created from CVE-2015-3405
- 2026-10-03 Alias added: GHSA-wwx9-mwhp-g8mc
References
Advisory 9
- FEDORA-2015-5830
- RHSA-2015:2231
- DSA-3388
- SUSE-SU-2015:1173
- https://bugs.ntp.org/show_bug.cgi?id=2797
- RHSA-2015:1459
- http://bk1.ntp.org/ntp-stable/?PAGE=patch&REV=55199296N2gFqH1Hm5GOnhrk9Ypygg
- DSA-3223
- [oss-security] 20150423 Re: CVE request: ntp-keygen may generate non-random symmetric keys on big-endian systems
Sources
- CVE-2015-3405 · CVE Program
- CVE-2015-3405 · NVD
- FIRST EPSS
- GHSA-wwx9-mwhp-g8mc · GitHub Advisory Database · CC BY 4.0
- CVE-2015-3405 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences