Medium severity · published Jun 13, 2018
CVE-2018-1121
procps-ng, procps is vulnerable to a process hiding through race condition
5.9
CVSS
4.1%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)4.1% · higher than 91% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PR
Procps · Procps Project
through 3.3.15 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-1121
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-1121
Exploit
http://seclists.org/oss-sec/2018/q2/122
Third Party Advisory
http://www.securityfocus.com/bid/104214
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1121
Exploit
https://www.exploit-db.com/exploits/44806/
Exploit
https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt
More from Procps
3.3
CVE-2023-4016
Under some circumstances, this weakness allows a user who has access to run the “ps” utility on a machine, the ability to write almost unlimited amounts of unfiltered data into…
