CVSS 3.0
5.5 mediumCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NMedium (5.5). EPSS 3.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExplain CVE-2017-18344 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-18344?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-18344?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-18344 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| linux:linux_kernel | before 4.14.8 |
| canonical:ubuntu_linux | 12.04 |
| canonical:ubuntu_linux | 14.04 |
| redhat:mrg_realtime | 2.0 |
| redhat:enterprise_linux_desktop | 7.0 |
| redhat:enterprise_linux_server | 7.0 |
| redhat:enterprise_linux_server_aus | 7.2 |
| redhat:enterprise_linux_server_aus | 7.3 |
| redhat:enterprise_linux_server_aus | 7.4 |
| redhat:enterprise_linux_server_eus | 7.3 |
| redhat:enterprise_linux_server_eus | 7.5 |
| redhat:enterprise_linux_server_tus | 7.2 |
| redhat:enterprise_linux_server_tus | 7.3 |
| redhat:enterprise_linux_server_tus | 7.4 |
| redhat:enterprise_linux_workstation | 7.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | linux | 4.14.12-1 | DEBIAN-CVE-2017-18344 |
| Ubuntu | 14.04:LTS | linux | 3.13.0-155.205 | UBUNTU-CVE-2017-18344 USN-3742-1 |
| Ubuntu | 14.04:LTS | linux-aws | 4.4.0-1017.17 | UBUNTU-CVE-2017-18344 |
| Ubuntu | 14.04:LTS | linux-lts-xenial | 4.4.0-121.145~14.04.1 | UBUNTU-CVE-2017-18344 |
| Ubuntu | 16.04:LTS | linux | 4.4.0-121.145 | UBUNTU-CVE-2017-18344 |
| Ubuntu | 16.04:LTS | linux-aws | 4.4.0-1055.64 | UBUNTU-CVE-2017-18344 |
| Ubuntu | 16.04:LTS | linux-azure | 4.15.0-1013.13~16.04.2 | UBUNTU-CVE-2017-18344 |
| Ubuntu | 16.04:LTS | linux-euclid | 4.4.0-9029.31 | UBUNTU-CVE-2017-18344 |
| Ubuntu | 16.04:LTS | linux-gcp | 4.15.0-1014.14~16.04.1 | UBUNTU-CVE-2017-18344 |
| Ubuntu | 16.04:LTS | linux-hwe | 4.15.0-24.26~16.04.1 | UBUNTU-CVE-2017-18344 |
| Ubuntu | 16.04:LTS | linux-kvm | 4.4.0-1021.26 | UBUNTU-CVE-2017-18344 |
| Ubuntu | 16.04:LTS | linux-raspi2 | 4.4.0-1087.95 | UBUNTU-CVE-2017-18344 |
| Ubuntu | 16.04:LTS | linux-snapdragon | 4.4.0-1090.95 | UBUNTU-CVE-2017-18344 |
| 4 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstation | perf, kernel, bpftool and 15 more | 0:3.10.0-957.el7 | RHSA-2018:3083 |
| Red Hat | enterprise_linux:7::server | perf, kernel, bpftool and 22 more | 0:3.10.0-957.el7 | RHSA-2018:3083 |
| Red Hat | enterprise_linux:7::server | perf, kernel, kernel-alt and 17 more | 0:4.14.0-115.el7a | RHSA-2018:2948 |
| Red Hat | enterprise_mrg:2:server:el6 | kernel-rt, kernel-rt-doc, kernel-rt-debug and 12 more | 1:3.10.0-693.43.1.rt56.630.el6rt | RHSA-2018:3586 |
| Red Hat | rhel_aus:7.2::server, rhel_e4s:7.2::server, rhel_tus:7.2::server | perf, kernel, kernel-doc and 15 more | 0:3.10.0-327.76.1.el7 | RHSA-2018:3590 |
| Red Hat | rhel_eus:7.3::computenode | perf, kernel, kernel-doc and 15 more | 0:3.10.0-514.61.1.el7 | RHSA-2018:3591 |
| Red Hat | rhel_eus:7.3::server | perf, kernel, kernel-doc and 22 more | 0:3.10.0-514.61.1.el7 | RHSA-2018:3591 |
| Red Hat | rhel_eus:7.4::computenode | perf, kernel, kernel-doc and 15 more | 0:3.10.0-693.43.1.el7 | RHSA-2018:3540 |
| Red Hat | rhel_eus:7.4::server | perf, kernel, kernel-doc and 22 more | 0:3.10.0-693.43.1.el7 | RHSA-2018:3540 |
| Red Hat | rhel_eus:7.5::computenode | perf, kernel, kernel-doc and 15 more | 0:3.10.0-862.20.2.el7 | RHSA-2018:3459 |
| Red Hat | rhel_eus:7.5::server | perf, kernel, kernel-doc and 22 more | 0:3.10.0-862.20.2.el7 | RHSA-2018:3459 |
| Red Hat | rhel_extras_rt:7 | kernel-rt, kernel-rt-doc, kernel-rt-kvm and 14 more | 0:3.10.0-957.rt56.910.el7 | RHSA-2018:3096 |
| SUSE | Enterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 more | kernel-syms, kernel-source, kernel-default | 4.4.121-92.92.1 | SUSE-SU-2018:2344-1 |
| SUSE | Enterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 more | kgraft-patch-SLE12-SP2_Update_24 | 1-3.7.1 | SUSE-SU-2018:2344-1 |
| SUSE | Enterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 more | lttng-modules | 2.7.1-9.4.1 | SUSE-SU-2018:2344-1 |
| SUSE | Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3 | kernel-syms, kernel-source, kernel-default | 4.4.143-94.47.1 | SUSE-SU-2018:2328-1 |
| SUSE | Linux Enterprise High Availability Extension 12 SP2 | kernel-default | 4.4.121-92.92.1 | SUSE-SU-2018:2344-1 |
| SUSE | Linux Enterprise High Availability Extension 12 SP3, Linux Enterprise Workstation Extension 12 SP3 | kernel-default | 4.4.143-94.47.1 | SUSE-SU-2018:2328-1 |
| SUSE | Linux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15, Linux Enterprise Module for Legacy 15 and 1 more | kernel-default | 4.12.14-25.6.1 | SUSE-SU-2018:2223-1 |
| SUSE | Linux Enterprise Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_1 | 11-2.1 | SUSE-SU-2018:2413-1 |
| SUSE | Linux Enterprise Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_16 | 1-4.5.1 | SUSE-SU-2018:2328-1 |
| SUSE | Linux Enterprise Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_2, kgraft-patch-SLE12-SP3_Update_3 | 10-2.1 | SUSE-SU-2018:2413-1 |
| SUSE | Linux Enterprise Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_4 | 9-2.1 | SUSE-SU-2018:2416-1 |
| SUSE | Linux Enterprise Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_5, kgraft-patch-SLE12-SP3_Update_6, kgraft-patch-SLE12-SP3_Update_7 | 8-2.1 | SUSE-SU-2018:2416-1 |
| 21 more for SUSE in the JSON and on SUSE's page. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.
Red Hat rates this Important.
Attached to this bugzilla is a systemtap script that will prevent opening (and therefore reading) the /proc/<process>/timers file which is used to leak information.
The SystemTap script is relatively small and efficient, broken into 3 distinct sections as follows:
--------
probe kernel.function("proc_timers_open@fs/proc/base.c").return {
// this is -EACCES
$return = -13;
message = sprintf("CVE-2017-18344 mitigation denied access to %s to %s(%d)", file_name , execname(), pid());
// print a warning message at KERN_INFO debug level
printk(6, message);
}
probe begin {
printk(6, "Mitigation for CVE-2017-18344 loaded.\n");
}
probe end {
printk(6, "Mitigation for CVE-2017-18344 unloaded.\n");
}
---------
First, the script places a probe at the return of the kernel function “proc_timers_open” when called. This modifies the return value to be EACCES which would return this value to userspace preventing this file from being opened. When the /proc/<pid>/timer file is attempted to be opened, a message will be logged to the kernel log subsystem showing the process and pid of the application attempting to access the timer file.
This file is not in widespread use at this time, although some applications may read from it to debug or understand their own timers that are set. This mitigation will not be useful in this context.
Finally, the “probe begin” and “probe end” code blocks tell systemtap to add the supplied text to the kernel log buffer via the printk function. This creates an audit trail by registering in the system logs exactly when the mitigation is loaded and unloaded. This will need to be compiled with guru mode (-g parameter) to compile.
This will need to be loaded at each boot to remain effective. Red Hat Product security recommends updating to a patched kernel when it is available.
Red Hat always seeks to provide both mitigations to disable attacks as well as the actual patches to treat the flaw. To learn more about SystemTap, and how it can be used in your management of your Red Hat systems, please refer to Using SystemTap[1] or one of our videos about it within our Customer Portal[2].
1 - https://access.redhat.com/articles/17839
2 - https://access.redhat.com/search/#/?q=systemtap
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-957.rt56.910.el7 | Fixed 2018-10-30 | RHSA-2018:3096 |
| Red Hat Enterprise Linux 7 | kernel-alt-0:4.14.0-115.el7a | Fixed 2018-10-30 | RHSA-2018:2948 |
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-957.el7 | Fixed 2018-10-30 | RHSA-2018:3083 |
| Red Hat Enterprise Linux 7.2 Advanced Update Support | kernel-0:3.10.0-327.76.1.el7 | Fixed 2018-11-13 | RHSA-2018:3590 |
| Red Hat Enterprise Linux 7.2 Telco Extended Update Support | kernel-0:3.10.0-327.76.1.el7 | Fixed 2018-11-13 | RHSA-2018:3590 |
| Red Hat Enterprise Linux 7.2 Update Services for SAP Solutions | kernel-0:3.10.0-327.76.1.el7 | Fixed 2018-11-13 | RHSA-2018:3590 |
| Red Hat Enterprise Linux 7.3 Extended Update Support | kernel-0:3.10.0-514.61.1.el7 | Fixed 2018-11-13 | RHSA-2018:3591 |
| Red Hat Enterprise Linux 7.4 Extended Update Support | kernel-0:3.10.0-693.43.1.el7 | Fixed 2018-11-13 | RHSA-2018:3540 |
| Red Hat Enterprise Linux 7.5 Extended Update Support | kernel-0:3.10.0-862.20.2.el7 | Fixed 2018-11-06 | RHSA-2018:3459 |
| Red Hat Enterprise MRG 2 | kernel-rt-1:3.10.0-693.43.1.rt56.630.el6rt | Fixed 2018-11-13 | RHSA-2018:3586 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | |
| Red Hat Enterprise Linux 6 | kernel | Not affected | |
| Red Hat Enterprise Linux 8 | kernel | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-18344.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.