Vulnerability Details : 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.
Exploit prediction scoring system (EPSS) score for CVE-2018-1121
Probability of exploitation activity in the next 30 days: 0.18%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 55 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2018-1121
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
nvd@nist.gov |
5.9
|
MEDIUM | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
2.2
|
3.6
|
nvd@nist.gov |
3.9
|
LOW | CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L |
1.3
|
2.5
|
secalert@redhat.com |
CWE ids for CVE-2018-1121
-
The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently.Assigned by: nvd@nist.gov (Primary)
-
The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state.Assigned by: secalert@redhat.com (Secondary)
References for CVE-2018-1121
-
https://www.exploit-db.com/exploits/44806/
Procps-ng - Multiple VulnerabilitiesExploit;Third Party Advisory;VDB Entry
-
http://seclists.org/oss-sec/2018/q2/122
oss-sec: Qualys Security Advisory - Procps-ng Audit ReportExploit;Mailing List;Third Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1121
1575473 – (CVE-2018-1121) CVE-2018-1121 procps-ng, procps: process hiding through race condition enumerating /procIssue Tracking;Third Party Advisory
-
https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt
Exploit;Third Party Advisory
-
http://www.securityfocus.com/bid/104214
Procps-ng Procps Multiple Security VulnerabilitiesThird Party Advisory;VDB Entry
Products affected by CVE-2018-1121
- cpe:2.3:a:procps_project:procps:*:*:*:*:*:*:*:*