Privilege escalation in Linux kernel - CVE-2017-5123

 

Privilege escalation in Linux kernel - CVE-2017-5123

Published: October 14, 2017 / Updated: August 23, 2023


Vulnerability identifier: #VU8828
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-5123
CWE-ID: CWE-391
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The waitid implementation in kernel/exit.c in the Linux kernel through 4.13.4 does not check that the incoming argument points to the userspace. This can allow local users to write directly to kernel memory, which could lead to privilege escalation.

Affected software

Linux kernel
Arch Linux
Fedora
kernel

How to mitigate CVE-2017-5123

Install update from vendor's repository.

kernel - addressed in versions 4.13.8-100.fc25, 4.13.8-200.fc26, 4.13.8-300.fc27

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins