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


0.0
low

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 0.18% (55th percentile)
Expand this section
NVD
5.9 medium
Expand this section
Red Hat
3.9 low

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

How 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.