CVE-2018-12327
ntp: Stack-based buffer overflow in ntpq and ntpdc allows denial of service or code execution
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Photon OS. Más baja según Red Hat (baja), Amazon (baja), Oracle (baja), Ubuntu (baja).
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| Photon OS 1.0 | ntp | 4.2.8p12-1.ph1 |
| Photon OS 2.0 | ntp | 4.2.8p12-1.ph2 |
| amazon linux 1 | ntp, ntp-debuginfo, ntp-doc y 2 más | 4.2.8p12-1.39.amzn1 |
| amazon linux 2 | ntp, ntp-debuginfo, ntp-doc y 3 más | 4.2.6p5-29.amzn2.0.1 |
| debian 11 | ntp | sin corrección indicada |
| Oracle Linux 6 | ntp, ntp-doc, ntp-perl y 1 más | 4.2.6p5-15.0.1.el6_10 |
| Oracle Linux 7 | ntp, ntp-doc, ntp-perl y 2 más | 4.2.6p5-29.0.1.el7 |
| ubuntu 14.04-ESM | ntp | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.13+esm1 |
| ubuntu 16.04 | ntp | 1:4.2.8p4+dfsg-3ubuntu5.10 |
| ubuntu 16.04-ESM | ntp | 1:4.2.8p4+dfsg-3ubuntu5.10 |
| ubuntu 18.04-ESM | ntp | 1:4.2.8p10+dfsg-5ubuntu7.3+esm1 |
Mostrar las 27 entradas de 11 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| Photon OS 1.0 | ntp | 4.2.8p12-1.ph1 |
| Photon OS 2.0 | ntp | 4.2.8p12-1.ph2 |
| amazon linux 1 | ntp | 4.2.8p12-1.39.amzn1 |
| amazon linux 1 | ntp-debuginfo | 4.2.8p12-1.39.amzn1 |
| amazon linux 1 | ntp-doc | 4.2.8p12-1.39.amzn1 |
| amazon linux 1 | ntp-perl | 4.2.8p12-1.39.amzn1 |
| amazon linux 1 | ntpdate | 4.2.8p12-1.39.amzn1 |
| amazon linux 2 | ntp | 4.2.6p5-29.amzn2.0.1 |
| amazon linux 2 | ntp-debuginfo | 4.2.6p5-29.amzn2.0.1 |
| amazon linux 2 | ntp-doc | 4.2.6p5-29.amzn2.0.1 |
| amazon linux 2 | ntp-perl | 4.2.6p5-29.amzn2.0.1 |
| amazon linux 2 | ntpdate | 4.2.6p5-29.amzn2.0.1 |
| amazon linux 2 | sntp | 4.2.6p5-29.amzn2.0.1 |
| debian 11 | ntp | sin corrección indicada |
| Oracle Linux 6 | ntp | 4.2.6p5-15.0.1.el6_10 |
| Oracle Linux 6 | ntp-doc | 4.2.6p5-15.0.1.el6_10 |
| Oracle Linux 6 | ntp-perl | 4.2.6p5-15.0.1.el6_10 |
| Oracle Linux 6 | ntpdate | 4.2.6p5-15.0.1.el6_10 |
| Oracle Linux 7 | ntp | 4.2.6p5-29.0.1.el7 |
| Oracle Linux 7 | ntp-doc | 4.2.6p5-29.0.1.el7 |
| Oracle Linux 7 | ntp-perl | 4.2.6p5-29.0.1.el7 |
| Oracle Linux 7 | ntpdate | 4.2.6p5-29.0.1.el7 |
| Oracle Linux 7 | sntp | 4.2.6p5-29.0.1.el7 |
| ubuntu 14.04-ESM | ntp | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.13+esm1 |
| ubuntu 16.04 | ntp | 1:4.2.8p4+dfsg-3ubuntu5.10 |
| ubuntu 16.04-ESM | ntp | 1:4.2.8p4+dfsg-3ubuntu5.10 |
| ubuntu 18.04-ESM | ntp | 1:4.2.8p10+dfsg-5ubuntu7.3+esm1 |
Referencias
- http://www.securityfocus.com/bid/104517
- https://access.redhat.com/errata/RHSA-2018:3853
- https://access.redhat.com/errata/RHSA-2018:3854
- https://access.redhat.com/errata/RHSA-2019:2077
- https://access.redhat.com/security/cve/CVE-2018-12327
- https://gist.github.com/fakhrizulkifli/9b58ed8e0354e8deee50b0eebd1c011f
- https://linux.oracle.com/cve/CVE-2018-12327.html
- https://linux.oracle.com/errata/ELSA-2019-2077.html
Las 16 referencias
- https://nvd.nist.gov/vuln/detail/CVE-2018-12327
- https://security.gentoo.org/glsa/201903-15
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us
- https://ubuntu.com/security/notices/USN-4229-1
- https://ubuntu.com/security/notices/USN-4229-2
- https://usn.ubuntu.com/4229-1/
- https://www.cve.org/CVERecord?id=CVE-2018-12327
- https://www.exploit-db.com/exploits/44909/