Buffer overflow in NTP
CVE-2018-12327
Stack-based buffer overflow in ntpq and ntpdc of NTP version 4.2.8p11 allows an attacker to achieve code execution or escalate to higher privileges via a long string as the argument for an IPv4 or IPv6 command-line parameter. NOTE: It is unclear whether there are any common situations in which ntpq or ntpdc is used with a command line from an untrusted source.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.275, 98.1th percentile (scored ); down from 0.280 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.280 · newest: 0.275 · change: -0.005
Affected products
- NTP — versions 4.2.8
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, carter-yagemann/ARCUS). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHSA-2018:3854 (vendor-advisory)
- gist.github.com/fakhrizulkifli/9b58ed8e0354e8deee50b0eebd1c011f (Exploit, Third Party Advisory)
- www.securityfocus.com/bid/104517 (Third Party Advisory, VDB Entry, vdb-entry)
- www.exploit-db.com/exploits/44909/ (Exploit, exploit, Third Party Advisory, VDB Entry)
- RHSA-2018:3853 (vendor-advisory)
- GLSA-201903-15 (vendor-advisory)
- RHSA-2019:2077 (vendor-advisory)
- support.hpe.com/hpsc/doc/public/display
- USN-4229-1 (vendor-advisory)