Vulnerability Details : CVE-2018-7191
Potential exploit
In the tun subsystem in the Linux kernel before 4.13.14, dev_get_valid_name is not called before register_netdevice. This allows local users to cause a denial of service (NULL pointer dereference and panic) via an ioctl(TUNSETIFF) call with a dev name containing a / character. This is similar to CVE-2013-4343.
Vulnerability category: Memory CorruptionDenial of service
Products affected by CVE-2018-7191
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-7191
0.09%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 22 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-7191
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.9
|
MEDIUM | AV:L/AC:L/Au:N/C:N/I:N/A:C |
3.9
|
6.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2018-7191
-
The product dereferences a pointer that it expects to be valid but is NULL.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-7191
-
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1743792
Bug #1743792 “kernel panic on ioctl(TUNSETIFF) with a dev name w...” : Bugs : linux package : UbuntuExploit;Third Party Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00039.html
[security-announce] openSUSE-SU-2019:1570-1: important: Security update
-
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1748846
Bug #1748846 “Artful 4.13 fixes for tun” : Bugs : linux package : UbuntuPatch;Third Party Advisory
-
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5c25f65fd1e42685f7ccd80e0621829c105785d9
kernel/git/torvalds/linux.git - Linux kernel source treePatch;Vendor Advisory
-
https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.14
Release Notes;Vendor Advisory
-
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0ad646c81b2182f7fa67ec0c8c825e0ee165696d
kernel/git/torvalds/linux.git - Linux kernel source treePatch;Third Party Advisory;Vendor Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00071.html
[security-announce] openSUSE-SU-2019:1479-1: important: Security update
-
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00048.html
[security-announce] openSUSE-SU-2019:1579-1: important: Security update
-
https://github.com/torvalds/linux/commit/5c25f65fd1e42685f7ccd80e0621829c105785d9
tun: allow positive return values on dev_get_valid_name() call · torvalds/linux@5c25f65 · GitHubPatch;Third Party Advisory
-
http://www.securityfocus.com/bid/108380
Linux Kernel CVE-2018-7191 Local Denial of Service Vulnerability
-
https://github.com/torvalds/linux/commit/0ad646c81b2182f7fa67ec0c8c825e0ee165696d
tun: call dev_get_valid_name() before register_netdevice() · torvalds/linux@0ad646c · GitHubPatch;Third Party Advisory
Jump to