Time-of-check Time-of-use (TOCTOU) Affecting procps-ng package, versions *
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS8-PROCPSNG-1938475
- published 26 Jul 2021
- disclosed 17 May 2018
Introduced: 17 May 2018
CVE-2018-1121 Open this link in a new tabHow to fix?
There is no fixed version for Centos:8
procps-ng
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream procps-ng
package and not the procps-ng
package as distributed by Centos
.
See How to fix?
for Centos:8
relevant fixed versions and status.
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.
References
- http://www.securityfocus.com/bid/104214
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1121
- https://access.redhat.com/security/cve/CVE-2018-1121
- https://www.exploit-db.com/exploits/44806/
- https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt
- http://seclists.org/oss-sec/2018/q2/122