Vulnerabilities · 2017 · Linux
CVE-2017-18509
Linux Kernel vulnerability
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.
Affected products
Linux Kernel, Ubuntu Linux, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99253eb750fda6a644d5188 · Patch
- github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745 · Patch
- packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Upd · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/08/msg00016.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/08/msg00017.html · Third Party Advisory
- lists.openwall.net/netdev/2017/12/04/40 · Third Party Advisory
- pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf · Exploit
- salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-18509
- cve.org/CVERecord?id=CVE-2017-18509
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.