CVE-2017-18344
kernel: out-of-bounds access in the show_timer function in kernel/time/posix-timers.c
Overview
Description
The timer_create syscall implementation in kernel/time/posix-timers.c in the Linux kernel before 4.14.8 doesn't properly validate the sigevent->sigev_notify field, which leads to out-of-bounds access in the show_timer function (called when /proc/$PID/timers is read). This allows userspace applications to read arbitrary kernel memory (on a kernel built with CONFIG_POSIX_TIMERS and CONFIG_CHECKPOINT_RESTORE).
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-125
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 20 fixes
Oracle Linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | dtrace-modules-3-8-13-118-24-1-el7uek | 0.4.5-3.el7 |
| 7 | bpftool +12 | 3.10.0-957.el7 |
| 7 | kernel-uek +5 | 4.1.12-124.18.5.el7uek |
Red Hat 2 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| kernel-rt +9 | 1:3.10.0-693.43.1.rt56.630.el6rt | RHSA-2018:3586 | |
| 7 | kernel +11 | 0:3.10.0-327.76.1.el7 | RHSA-2018:3590 |
| 7 | kernel +14 | 0:3.10.0-514.61.1.el7 | RHSA-2018:3591 |
| 7 | kernel +14 | 0:3.10.0-693.43.1.el7 | RHSA-2018:3540 |
| 7 | kernel +14 | 0:3.10.0-862.20.2.el7 | RHSA-2018:3459 |
| 7 | bpftool +14 | 0:3.10.0-957.el7 | RHSA-2018:3083 |
2 more rows
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | 4.14.12-1 |
| 12 | linux | 4.14.12-1 |
| 13 | linux | 4.14.12-1 |
| 14 | linux | 4.14.12-1 |
| 9 | linux | 4.9.82-1+deb9u1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 4.14.12-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-linux | 4.14.12-1 |
| 12 | rootio-linux | 4.14.12-1 |
| 13 | rootio-linux | 4.14.12-1 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2018/08/09/6
- www.securityfocus.com http://www.securityfocus.com/bid/104909
- www.securitytracker.com http://www.securitytracker.com/id/1041414
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:2948
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3083
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3096
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3459
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3540
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3586
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3590
Show all 23 references
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3591
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-18344
- cdn.kernel.org https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.8
- github.com https://github.com/torvalds/linux/commit/cef31d9af908243421258f1df35a4a644604efbe
- linux.oracle.com https://linux.oracle.com/cve/CVE-2017-18344.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2018-4214.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-18344
- ubuntu.com https://ubuntu.com/security/notices/USN-3742-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3742-2
- usn.ubuntu.com https://usn.ubuntu.com/3742-1/
- usn.ubuntu.com https://usn.ubuntu.com/3742-2/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-18344
- www.exploit-db.com https://www.exploit-db.com/exploits/45175/
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.