ubuntu-cve-2018-12327
Vulnerability from osv_ubuntu
Published
2018-06-20 14:29
Modified
2025-09-08 16:44
Summary
Details
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.
Severity
9.8 (Critical)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "ntp",
"binary_version": "1:4.2.6.p5+dfsg-3ubuntu2.14.04.13+esm1"
},
{
"binary_name": "ntpdate",
"binary_version": "1:4.2.6.p5+dfsg-3ubuntu2.14.04.13+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "ntp",
"purl": "pkg:deb/ubuntu/ntp@1:4.2.6.p5+dfsg-3ubuntu2.14.04.13+esm1?arch=source\u0026distro=trusty/esm"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.2.6.p5+dfsg-3ubuntu2.14.04.13+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:4.2.6.p5+dfsg-3ubuntu2",
"1:4.2.6.p5+dfsg-3ubuntu2.14.04.1",
"1:4.2.6.p5+dfsg-3ubuntu2.14.04.2",
"1:4.2.6.p5+dfsg-3ubuntu2.14.04.3",
"1:4.2.6.p5+dfsg-3ubuntu2.14.04.5",
"1:4.2.6.p5+dfsg-3ubuntu2.14.04.6",
"1:4.2.6.p5+dfsg-3ubuntu2.14.04.7",
"1:4.2.6.p5+dfsg-3ubuntu2.14.04.8",
"1:4.2.6.p5+dfsg-3ubuntu2.14.04.10",
"1:4.2.6.p5+dfsg-3ubuntu2.14.04.11",
"1:4.2.6.p5+dfsg-3ubuntu2.14.04.12",
"1:4.2.6.p5+dfsg-3ubuntu2.14.04.13"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "ntp",
"binary_version": "1:4.2.8p4+dfsg-3ubuntu5.10"
},
{
"binary_name": "ntpdate",
"binary_version": "1:4.2.8p4+dfsg-3ubuntu5.10"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "ntp",
"purl": "pkg:deb/ubuntu/ntp@1:4.2.8p4+dfsg-3ubuntu5.10?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.2.8p4+dfsg-3ubuntu5.10"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:4.2.6.p5+dfsg-3ubuntu8",
"1:4.2.6.p5+dfsg-3ubuntu8.1",
"1:4.2.6.p5+dfsg-3ubuntu9",
"1:4.2.8p4+dfsg-3ubuntu1",
"1:4.2.8p4+dfsg-3ubuntu2",
"1:4.2.8p4+dfsg-3ubuntu3",
"1:4.2.8p4+dfsg-3ubuntu4",
"1:4.2.8p4+dfsg-3ubuntu5",
"1:4.2.8p4+dfsg-3ubuntu5.1",
"1:4.2.8p4+dfsg-3ubuntu5.2",
"1:4.2.8p4+dfsg-3ubuntu5.3",
"1:4.2.8p4+dfsg-3ubuntu5.4",
"1:4.2.8p4+dfsg-3ubuntu5.5",
"1:4.2.8p4+dfsg-3ubuntu5.6",
"1:4.2.8p4+dfsg-3ubuntu5.7",
"1:4.2.8p4+dfsg-3ubuntu5.8",
"1:4.2.8p4+dfsg-3ubuntu5.9"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "ntp",
"binary_version": "1:4.2.8p10+dfsg-5ubuntu7.3+esm1"
},
{
"binary_name": "ntpdate",
"binary_version": "1:4.2.8p10+dfsg-5ubuntu7.3+esm1"
},
{
"binary_name": "sntp",
"binary_version": "1:4.2.8p10+dfsg-5ubuntu7.3+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "ntp",
"purl": "pkg:deb/ubuntu/ntp@1:4.2.8p10+dfsg-5ubuntu7.3+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.2.8p10+dfsg-5ubuntu7.3+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:4.2.8p10+dfsg-5ubuntu3",
"1:4.2.8p10+dfsg-5ubuntu4",
"1:4.2.8p10+dfsg-5ubuntu5",
"1:4.2.8p10+dfsg-5ubuntu6",
"1:4.2.8p10+dfsg-5ubuntu7",
"1:4.2.8p10+dfsg-5ubuntu7.1",
"1:4.2.8p10+dfsg-5ubuntu7.1+esm1",
"1:4.2.8p10+dfsg-5ubuntu7.1+esm2",
"1:4.2.8p10+dfsg-5ubuntu7.2",
"1:4.2.8p10+dfsg-5ubuntu7.2+esm1",
"1:4.2.8p10+dfsg-5ubuntu7.3"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2018-12327",
"modified": "2025-09-08T16:44:54Z",
"published": "2018-06-20T14:29:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2018-12327"
},
{
"type": "REPORT",
"url": "https://gist.github.com/fakhrizulkifli/9b58ed8e0354e8deee50b0eebd1c011f"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-4229-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-4229-2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2018-12327"
}
],
"related": [
"USN-4229-1",
"USN-4229-2"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "negligible",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2018-12327"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…