CVE-2017-18509
Last modified
CVE-2017-18509 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.84% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 3.16.72 |
| Linux | Linux Kernel | >= 3.17, < 4.4.187 |
| Linux | Linux Kernel | >= 4.5, < 4.9.187 |
| Linux | Linux Kernel | >= 4.10, < 4.11 |
| Canonical | Ubuntu Linux | 16.04 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
References
- http://packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.htmlThird Party Advisory, VDB Entry
- https://github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/08/msg00016.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/08/msg00017.htmlMailing List, Third Party Advisory
- https://lists.openwall.net/netdev/2017/12/04/40Mailing List, Third Party Advisory
- https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpfExploit, Third Party Advisory
- https://seclists.org/bugtraq/2019/Aug/26Mailing List, Third Party Advisory
- https://support.f5.com/csp/article/K41582535Third Party Advisory
- https://usn.ubuntu.com/4145-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4497Third Party Advisory
- http://packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.htmlThird Party Advisory, VDB Entry
- https://github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/08/msg00016.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/08/msg00017.htmlMailing List, Third Party Advisory
- https://lists.openwall.net/netdev/2017/12/04/40Mailing List, Third Party Advisory
- https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpfExploit, Third Party Advisory
- https://seclists.org/bugtraq/2019/Aug/26Mailing List, Third Party Advisory
- https://support.f5.com/csp/article/K41582535Third Party Advisory
- https://usn.ubuntu.com/4145-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4497Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-18509?
How severe is CVE-2017-18509?
How do I fix CVE-2017-18509?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-18503The twitter-cards-meta plugin before 2.5.0 for WordPress has…
- CVE-2017-18504The twitter-cards-meta plugin before 2.5.0 for WordPress has…
- CVE-2017-18505The twitter-plugin plugin before 2.55 for WordPress has XSS.
- CVE-2017-18506The woocommerce-pdf-invoices-packing-slips plugin before 2.0…
- CVE-2017-18507The wp-live-chat-support plugin before 7.1.05 for WordPress …
- CVE-2017-18508The wp-live-chat-support plugin before 7.1.03 for WordPress …6.1
- CVE-2017-1851Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2017-18510The custom-sidebars plugin before 3.1.0 for WordPress has CS…
- CVE-2017-18511The custom-sidebars plugin before 3.0.8.1 for WordPress has …
- CVE-2017-18512The newsletter-by-supsystic plugin before 1.1.8 for WordPres…
- CVE-2017-18513The responsive-menu plugin before 3.1.4 for WordPress has no…
- CVE-2017-18514The simple-login-log plugin before 1.1.2 for WordPress has S…9.8
Are you affected by CVE-2017-18509?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
