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


Severity

0.0
low
0
10

    Threat Intelligence

    EPSS
    0.18% (56th 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 ID SNYK-CENTOS7-PROCPSNG-1991010
  • published 26 Jul 2021
  • disclosed 17 May 2018

How to fix?

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

CVSS Scores

version 3.1
Expand this section

Snyk

3.9 low
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

NVD

5.9 medium
Expand this section

Red Hat

3.9 low