cve.bz

CVE-2017-18509 Improper Input Validation

7.8 highExploit referenceEPSS 0.8%Fix available

High (7.8). EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-18509 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-18509?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-18509?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-18509 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 3.16.72
linux:linux_kernelfrom 3.17 before 4.4.187
linux:linux_kernelfrom 4.5 before 4.9.187
linux:linux_kernelfrom 4.10 before 4.11
canonical:ubuntu_linux16.04
debian:debian_linux8.0
debian:debian_linux9.0
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8linux3.16.72-1DLA-1884-1
Debian8linux-4.94.9.168-1+deb9u5~deb8u1DLA-1885-1
Debian9linux4.9.168-1+deb9u5DSA-4497-1
Debian12, 13, 14linux4.11.6-1DEBIAN-CVE-2017-18509
Ubuntu16.04:LTSlinux4.4.0-165.193UBUNTU-CVE-2017-18509 USN-4145-1
Ubuntu16.04:LTSlinux-aws4.4.0-1095.106UBUNTU-CVE-2017-18509 USN-4145-1
Ubuntu16.04:LTSlinux-gcp4.13.0-1002.5UBUNTU-CVE-2017-18509
Ubuntu16.04:LTSlinux-hwe4.13.0-32.35~16.04.1UBUNTU-CVE-2017-18509
Ubuntu16.04:LTSlinux-kvm4.4.0-1059.66UBUNTU-CVE-2017-18509 USN-4145-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1123.132UBUNTU-CVE-2017-18509 USN-4145-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1127.135UBUNTU-CVE-2017-18509 USN-4145-1
Ubuntu18.04:LTSlinux-snapdragon4.15.0-1053.57UBUNTU-CVE-2017-18509
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 1 moreno fix listedUBUNTU-CVE-2017-18509
Ubuntu22.04:LTSlinux-riscv, linux-realtime, linux-intel-iot-realtimeno fix listedUBUNTU-CVE-2017-18509
Ubuntu24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2017-18509
UbuntuPro:14.04:LTSlinuxno fix listedUBUNTU-CVE-2017-18509
4 more for Ubuntu in the JSON and on Ubuntu's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL and 4 morekernel-syms, kernel-source, kernel-default4.4.180-94.107.1SUSE-SU-2019:2949-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-LTSS and 3 morekgraft-patch-SLE12-SP3_Update_291-4.3.1SUSE-SU-2019:2949-1
SUSELinux Enterprise High Availability Extension 11 SP4ocfs21.6-0.28.11.2SUSE-SU-2019:14218-1
SUSELinux Enterprise High Availability Extension 12 SP2kernel-default4.4.121-92.125.1SUSE-SU-2019:2984-1
SUSELinux Enterprise High Availability Extension 12 SP3kernel-default4.4.180-94.107.1SUSE-SU-2019:2949-1
SUSELinux Enterprise Module for Public Cloud 12kernel-ec23.12.74-60.64.124.1SUSE-SU-2019:2950-1
SUSELinux Enterprise Server 11 SP4-LTSSkernel-ec2, kernel-pae, kernel-xen and 6 more3.0.101-108.108.1SUSE-SU-2019:14218-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1kernel-xen, kernel-syms, kernel-source and 1 more3.12.74-60.64.124.1SUSE-SU-2019:2950-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1kgraft-patch-SLE12-SP1_Update_371-2.3.1SUSE-SU-2019:2950-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekernel-syms, kernel-source, kernel-default4.4.121-92.125.1SUSE-SU-2019:2984-1
SUSELinux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2, OpenStack Cloud 7kgraft-patch-SLE12-SP2_Update_331-3.5.1SUSE-SU-2019:2984-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

At this time none of the Red Hat Enterprse Linux shipping releases are vulnerable to the described flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise MRG 2kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-18509.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-074-07Siemens SIMATIC2024-03-14Critical ManufacturingSiemens SIMATIC RF160B (6GT2003-0FA00): <V2.2none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON