Vulnerability in Procps Project
CVE-2018-1121
procps-ng, procps is vulnerable to a process hiding through race condition. Since the kernel's proc_pid_readdir() returns PID entries in ascending numeric order, a process occupying a high PID can use inotify events to determine when the process list is being scanned, and fork/exec to obtain a lower PID, thus avoiding enumeration. An unprivileged attacker can hide a process from procps-ng's utilities by exploiting a race condition in reading /proc/PID entries. This vulnerability affects procps and procps-ng up to version 3.3.15, newer versions might be affected also.
Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.9 (Low). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L.
EPSS exploit prediction
EPSS 0.041, 90.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Procps Project
- [Unknown] Procps-Ng, Procps — versions up to procps-ng 3.3.15 and newer
Weakness classification (CWE)
References
- www.exploit-db.com/exploits/44806/ (Exploit, exploit, Third Party Advisory, VDB Entry)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- www.securityfocus.com/bid/104214 (Third Party Advisory, VDB Entry, vdb-entry)
- [oss-security] 20180517 Qualys Security Advisory - Procps-ng Audit Report (mailing-list, Exploit, Mailing List, Third Party Advisory)
- www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt (Exploit, Third Party Advisory)