CVE-2017-18509

Source
https://cve.org/CVERecord?id=CVE-2017-18509
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-18509.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-18509
Aliases
Downstream
Related
Published
2019-08-13T14:15:11Z
Modified
2026-03-12T22:37:04Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-18509.json"
unresolved_ranges
[
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "fixed":  "3.16.72"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "3.17"
            },
            {
                "fixed":  "4.4.187"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "4.5"
            },
            {
                "fixed":  "4.9.187"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "4.10"
            },
            {
                "fixed":  "4.11"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "16.04"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "8.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "9.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "10.0"
            }
        ]
    }
]