Time-of-check Time-of-use (TOCTOU) Affecting procps-ng package, versions *


Severity

Recommended
0.0
low
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.17% (55th percentile)

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 IDSNYK-RHEL7-PROCPSNG-1378486
  • published26 Jul 2021
  • disclosed17 May 2018

Introduced: 17 May 2018

CVE-2018-1121  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 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 RHEL. See How to fix? for RHEL:7 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.