{"api_version":"1","generated_at":"2026-04-22T23:51:55+00:00","cve":"CVE-2018-12327","urls":{"html":"https://cve.report/CVE-2018-12327","api":"https://cve.report/api/cve/CVE-2018-12327.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-12327","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-12327"},"summary":{"title":"CVE-2018-12327","description":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2018-06-20 14:29:00","updated_at":"2020-08-24 17:37:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2019:2077","name":"RHSA-2019:2077","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://gist.github.com/fakhrizulkifli/9b58ed8e0354e8deee50b0eebd1c011f","name":"https://gist.github.com/fakhrizulkifli/9b58ed8e0354e8deee50b0eebd1c011f","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"CVE-2018-12327 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us","name":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us","refsource":"CONFIRM","tags":[],"title":"Document Display | HPE Support Center","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2018:3854","name":"RHSA-2018:3854","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2018:3853","name":"RHSA-2018:3853","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/44909/","name":"44909","refsource":"EXPLOIT-DB","tags":["Exploit","Third Party Advisory","VDB Entry"],"title":"ntp 4.2.8p11 - Local Buffer Overflow (PoC)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/104517","name":"104517","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"NTP CVE-2018-12327 Stack Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://usn.ubuntu.com/4229-1/","name":"USN-4229-1","refsource":"UBUNTU","tags":[],"title":"USN-4229-1: NTP vulnerability | Ubuntu security notices | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201903-15","name":"GLSA-201903-15","refsource":"GENTOO","tags":[],"title":"NTP: Multiple vulnerabilities (GLSA 201903-15) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-12327","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12327","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"12327","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ntp","cpe5":"ntp","cpe6":"4.2.8","cpe7":"p11","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"12327","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ntp","cpe5":"ntp","cpe6":"4.2.8","cpe7":"p11","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2018-12327","qid":"377526","title":"Alibaba Cloud Linux Security Update for ntp (ALINUX2-SA-2019:0117)"},{"cve":"CVE-2018-12327","qid":"378282","title":"Virtuozzo Linux Security Update for ntpdate (VZLSA-2018:3854)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-12327","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"RHSA-2018:3854","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3854"},{"name":"https://gist.github.com/fakhrizulkifli/9b58ed8e0354e8deee50b0eebd1c011f","refsource":"MISC","url":"https://gist.github.com/fakhrizulkifli/9b58ed8e0354e8deee50b0eebd1c011f"},{"name":"104517","refsource":"BID","url":"http://www.securityfocus.com/bid/104517"},{"name":"44909","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/44909/"},{"name":"RHSA-2018:3853","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3853"},{"refsource":"GENTOO","name":"GLSA-201903-15","url":"https://security.gentoo.org/glsa/201903-15"},{"refsource":"REDHAT","name":"RHSA-2019:2077","url":"https://access.redhat.com/errata/RHSA-2019:2077"},{"refsource":"CONFIRM","name":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us","url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us"},{"refsource":"UBUNTU","name":"USN-4229-1","url":"https://usn.ubuntu.com/4229-1/"}]}},"nvd":{"publishedDate":"2018-06-20 14:29:00","lastModifiedDate":"2020-08-24 17:37:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ntp:ntp:4.2.8:p11:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"12327","Ordinal":"128845","Title":"CVE-2018-12327","CVE":"CVE-2018-12327","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"12327","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"12327","Ordinal":"2","NoteData":"2018-06-20","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"12327","Ordinal":"3","NoteData":"2020-01-09","Type":"Other","Title":"Modified"}]}}}