Impact: Important Public Date: 2019-08-20 CWE: CWE-843 Bugzilla: 1743520: CVE-2017-18509 kernel: not checking sk_type and protocol in net/ipv6/ip6mr.c leads to general protection fault, or arbitrary code execution An issue was discovered in net/ipv6/ip6mr.c in the Linux kernel before 4.11. By setting a specific socket option, an attacker can control a pointer in kernel land and cause an inet_csk_listen_stop general protection fault, or potentially execute arbitrary code under certain circumstances. The issue can be triggered as root (e.g., inside a default LXC container or with the CAP_NET_ADMIN capability) or after namespace unsharing. This occurs because sk_type and protocol are not checked in the appropriate part of the ip6_mroute_* functions. NOTE: this affects Linux distributions that use 4.9.x longterm kernels before 4.9.187.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2017-18509 from the MITRE CVE dictionary dictionary and NIST NVD.
NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.
CVSS3 Base Score | 7.2 |
---|---|
CVSS3 Base Metrics | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Attack Vector | Network |
Attack Complexity | Low |
Privileges Required | High |
User Interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity Impact | High |
Availability Impact | High |
Platform | Package | State |
---|---|---|
Red Hat Enterprise MRG 2 | kernel-rt | Under investigation |
Red Hat Enterprise Linux 8 | kernel | Under investigation |
Red Hat Enterprise Linux 8 | kernel-rt | Under investigation |
Red Hat Enterprise Linux 7 | kernel-alt | Under investigation |
Red Hat Enterprise Linux 7 | kernel | Under investigation |
Red Hat Enterprise Linux 7 | kernel-rt | Under investigation |
Red Hat Enterprise Linux 6 | kernel | Under investigation |
Red Hat Enterprise Linux 5 | kernel | Under investigation |