Directory traversal vulnerability in the save_config function in ntpd in ntp_control.c in…
Priority LOW 36CWE-22Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
Directory traversal vulnerability in the save_config function in ntpd in ntp_control.c in NTP before 4.2.8p4, when used on systems that do not use '\' or '/' characters for directory separation such as OpenVMS, allows remote authenticated users to overwrite arbitrary files.
Why it matters now
EPSS 0.03942 90th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
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 · 17
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ntp:ntp:*:*:*:*:*:*:*:* | 4.2.0 to before 4.2.8; 4.3.0 to before 4.3.77 | Vulnerable | NTP Project |
| 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:p1-beta1:*:*:*:*:*:* | 4.2.8 p1-beta1 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.2.8:p1-beta2:*:*:*:*:*:* | 4.2.8 p1-beta2 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.2.8:p1-beta3:*:*:*:*:*:* | 4.2.8 p1-beta3 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.2.8:p1-beta4:*:*:*:*:*:* | 4.2.8 p1-beta4 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.2.8:p1-beta5:*:*:*:*:*:* | 4.2.8 p1-beta5 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.2.8:p1-rc1:*:*:*:*:*:* | 4.2.8 p1-rc1 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.2.8:p1-rc2:*:*:*:*:*:* | 4.2.8 p1-rc2 | 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:*:*:*:*:*:*:*:* Versions 4.2.0 to before 4.2.8; 4.3.0 to before 4.3.77 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:p1-beta1:*:*:*:*:*:* Versions 4.2.8 p1-beta1 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.2.8:p1-beta2:*:*:*:*:*:* Versions 4.2.8 p1-beta2 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.2.8:p1-beta3:*:*:*:*:*:* Versions 4.2.8 p1-beta3 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.2.8:p1-beta4:*:*:*:*:*:* Versions 4.2.8 p1-beta4 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.2.8:p1-beta5:*:*:*:*:*:* Versions 4.2.8 p1-beta5 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.2.8:p1-rc1:*:*:*:*:*:* Versions 4.2.8 p1-rc1 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.2.8:p1-rc2:*:*:*:*:*:* Versions 4.2.8 p1-rc2 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.2.8:p2:*:*:*:*:*:* Versions 4.2.8 p2 Vulnerable ·NTP Project
Show 7 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| 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.2.8:p2-rc2:*:*:*:*:*:* | 4.2.8 p2-rc2 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.2.8:p2-rc3:*:*:*:*:*:* | 4.2.8 p2-rc3 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.2.8:p3:*:*:*:*:*:* | 4.2.8 p3 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.2.8:p3-rc1:*:*:*:*:*:* | 4.2.8 p3-rc1 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.2.8:p3-rc2:*:*:*:*:*:* | 4.2.8 p3-rc2 | Vulnerable | NTP Project |
| cpe:2.3:a:ntp:ntp:4.2.8:p3-rc3:*:*:*:*:*:* | 4.2.8 p3-rc3 | 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.2.8:p2-rc2:*:*:*:*:*:* Versions 4.2.8 p2-rc2 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.2.8:p2-rc3:*:*:*:*:*:* Versions 4.2.8 p2-rc3 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.2.8:p3:*:*:*:*:*:* Versions 4.2.8 p3 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.2.8:p3-rc1:*:*:*:*:*:* Versions 4.2.8 p3-rc1 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.2.8:p3-rc2:*:*:*:*:*:* Versions 4.2.8 p3-rc2 Vulnerable ·NTP Project
- cpe:2.3:a:ntp:ntp:4.2.8:p3-rc3:*:*:*:*:*:* Versions 4.2.8 p3-rc3 Vulnerable ·NTP Project
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 3 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2015-7851
- 2026-10-03 Alias added: GHSA-qp94-wj83-fxfq
References
More NTP Project Ntp vulnerabilities
- TI-2015-06541 Crypto-NAK packets in ntpd in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77 allows… CVSS 3.1CRITICAL 9.8
- TI-2014-07543 Multiple stack-based buffer overflows in ntpd in NTP before 4.2.8 allow remote attackers… CVSS 2.0HIGH 7.5
- TI-2013-04524 The monlist feature in ntp_request.c in ntpd in NTP before 4.2.7p26 allows remote… CVSS 2.0MEDIUM 5.0
- TI-2016-06333 The read_mru_list function in NTP before 4.2.8p9 allows remote attackers to cause a… CVSS 3.1HIGH 7.5
- TI-2018-08842 Stack-based buffer overflow in ntpq and ntpdc of NTP version 4.2.8p11 allows an attacker… CVSS 3.0CRITICAL 9.8
- TI-2016-04280 ntpd in NTP before 4.2.8p8 allows remote attackers to cause a denial of service (daemon… CVSS 3.1HIGH 7.5
Sources
- CVE-2015-7851 · CVE Program
- CVE-2015-7851 · NVD
- FIRST EPSS
- GHSA-qp94-wj83-fxfq · GitHub Advisory Database · CC BY 4.0
- CVE-2015-7851 · 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