{"id":"CVE-2018-1121","published":"2018-06-13T20:00:00Z","modified":"2024-08-05T03:51:48Z","title":"procps-ng, procps is vulnerable to a process hiding through race condition","vendor":null,"product":"procps-ng, procps","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.9,"severity":"LOW","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04105,"percentile":0.90723,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"references":[{"url":"https://www.exploit-db.com/exploits/44806/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1121","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/104214","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://seclists.org/oss-sec/2018/q2/122","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt","tags":["x_refsource_MISC"]}],"priority":{"score":25.9,"factors":[{"name":"EPSS percentile","points":18.14},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":2.73}]},"exploitSources":{"exploitdb":{"count":2,"earliest":"2018-05-30"},"first":{"date":"2018-05-30","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/44806"},"provenance":"source"},"affectedVersions":[{"vendor":"[UNKNOWN]","product":"procps-ng, procps","versions":["up to procps-ng 3.3.15 and newer"]}],"euvd":{"id":"EUVD-2018-11765","exploited":false,"provenance":"source"},"exploits":[{"id":44806,"url":"https://www.exploit-db.com/exploits/44806","title":"Procps-ng - Multiple Vulnerabilities","date":"2018-05-30","verified":false,"provenance":"source"},{"id":44806,"url":"https://www.exploit-db.com/exploits/44806","title":"Procps-ng - Multiple Vulnerabilities","date":"2018-05-30","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/44806/"]}