Improper input validation in Linux kernel - CVE-2018-1120

 

Improper input validation in Linux kernel - CVE-2018-1120

Published: May 20, 2018 / Updated: June 17, 2021


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

Vulnerability details

The vulnerability allows a local user to cause DoS condition on the target system.

The weakness exists due to insufficient validation of user-supplied input. A local user can block any read() access to /proc/PID/cmdline by mmap()ing a FUSE file (Filesystem in Userspace) onto this process's command-line arguments, block pgrep, pidof, pkill, ps, and w, either forever (a denial of service), or for some controlled time (a synchronization tool for exploiting other vulnerabilities).

Affected software

Linux kernel
Gentoo Linux
Amazon Linux AMI
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Fedora
Opensuse
procps
Traffix SDC
MRG Realtime
kernel (Red Hat package)
kernel-rt (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
kernel-alt (Red Hat package)
kernel
BIG-IQ Centralized Management
BIG-IP AFM
BIG-IP PEM
BIG-IP GTM
BIG-IP Analytics
BIG-IP FPS
BIG-IP APM
BIG-IP LTM
BIG-IP ASM
BIG-IP
BIG-IP DDHD
BIG-IP SSLO
BIG-IP DNS
BIG-IP AAM
BIG-IP Link Controller
BIG-IP Advanced WAF

How to mitigate CVE-2018-1120

Update to version 4.11.

Linux kernel - update to 4.4.168
kernel (Red Hat package) - update to 3.10.0-693.76.1.el7
kernel-rt (Red Hat package) - update to 3.10.0-693.76.1.rt56.676.el6rt
kernel-alt (Red Hat package) - update to 4.14.0-115.el7a
kernel - addressed in versions 4.16.10-200.fc27, 4.16.10-300.fc28, 4.16.11-200.fc27

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins