PT-2019-1113 · Linux+3 · Linux Kernel+3

Denis Andzakovic

·

Published

2017-07-12

·

Updated

2023-02-07

·

CVE-2017-18509

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 4.11 Linux kernel versions 4.9.x before 4.9.187
Description: An issue was discovered in the Linux kernel that allows an attacker to control a pointer in kernel land and cause a general protection fault, or potentially execute arbitrary code under certain circumstances. This can be triggered as root or after namespace unsharing, and it occurs because sk type and protocol are not checked in the appropriate part of the ip6 mroute * functions. The issue can also lead to a local escalation of privilege with no additional execution privileges needed, due to a logic error in the code that results in a possible out of bounds write in ip6 mroute setsockopt and related functions.
Recommendations: For Linux kernel versions prior to 4.11, update to version 4.11 or later to resolve the issue. For Linux kernel versions 4.9.x, update to version 4.9.187 or later to resolve the issue. As a temporary workaround, consider restricting the use of the ip6 mroute * functions and the CAP NET ADMIN capability to minimize the risk of exploitation.

Exploit

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2017-1854
ALT-PU-2018-1991
ASB-A-172999675
CVE-2017-18509
DLA-1884-1
DLA-1885-1
DSA-4497-1
SUSE-SU-2019:14218-1
SUSE-SU-2019:2949-1
SUSE-SU-2019:2950-1
SUSE-SU-2019:2984-1
SUSE-SU-2019_14218-1
USN-4145-1

Affected Products

Alt Linux
Linux Kernel
Suse
Ubuntu