CVE-2018-7183
ntp: decodearr() can write beyond its buffer limit
Overview
Description
Buffer overflow in the decodearr function in ntpq in ntp 4.2.8p6 through 4.2.8p10 allows remote attackers to execute arbitrary code by leveraging an ntpq query and sending a response with a crafted array.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-787
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 5 fixes
debian 2 releases · 1 package
fixed 1
affected 1
ntp
| Release | Package | Fixed in |
|---|---|---|
| 11 | ntp | 1:4.2.8p11+dfsg-1 |
| 9 | ntp | affected |
openSUSE 1 release · 1 package
fixed 1
ntp
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ntp +2 | 4.2.8p15-7.2 | openSUSE-SU-2024:11102-1 |
ubuntu 2 releases · 1 package
fixed 2
ntp
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | ntp | 1:4.2.8p10+dfsg-5ubuntu7.1 |
| 18.04-ESM | ntp | 1:4.2.8p10+dfsg-5ubuntu7.1 |
References
- support.ntp.org http://support.ntp.org/bin/view/Main/NtpBug3414
- support.ntp.org http://support.ntp.org/bin/view/Main/SecurityNotice#February_2018_ntp_4_2_8p11_NTP_S
- www.kb.cert.org http://www.kb.cert.org/vuls/id/961909
- www.securityfocus.com http://www.securityfocus.com/bid/103351
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-7183
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-7183
- security.FreeBSD.org https://security.FreeBSD.org/advisories/FreeBSD-SA-18:02.ntp.asc
- security.gentoo.org https://security.gentoo.org/glsa/201805-12
- security.netapp.com https://security.netapp.com/advisory/ntap-20180626-0001/
- support.hpe.com https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us
Show all 17 references
- ubuntu.com https://ubuntu.com/security/notices/USN-3707-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3707-2
- usn.ubuntu.com https://usn.ubuntu.com/3707-1/
- usn.ubuntu.com https://usn.ubuntu.com/3707-2/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-7183
- www.oracle.com https://www.oracle.com//security-alerts/cpujul2021.html
- www.synology.com https://www.synology.com/support/security/Synology_SA_18_13
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.