Improper input validation in Linux Kernel
CVE-2017-18509
- CVSS v3
- 7.8 High
- Public exploits
- None known
- EPSS
- 0.008 · 58.7th percentile
- Published
- 2019-08-13
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.008, 58.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel
- Canonical Ubuntu Linux — versions 16.04
- Debian Linux — versions 8.0, 9.0, 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (google/vanir, suddenabnormalsecrets/vanir, TinyNiko/android_bulletin_notes). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf (Exploit, Third Party Advisory)
- salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800… (Third Party Advisory)
- lists.openwall.net/netdev/2017/12/04/40 (Mailing List, Third Party Advisory)
- github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745 (Patch, Third Party Advisory)
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/ (Patch, Vendor Advisory)
- DSA-4497 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20190814 [SECURITY] [DLA 1884-1] linux security update (mailing-list, Mailing List, Third Party Advisory)
- 20190814 [slackware-security] Slackware 14.2 kernel (SSA:2019-226-01) (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20190814 [SECURITY] [DLA 1885-1] linux-4.9 security update (mailing-list, Mailing List, Third Party Advisory)
- packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2… (VDB Entry, Third Party Advisory)