Process Hiding Vulnerability in Linux Package: CVE-2018-1121

linux Updated 02 Oct 2025

Summary

13/06/2018
N/A
No i
Unrated
Not published

DEBIAN-CVE-2018-1121: procps-ng, procps is vulnerable to a process hiding through race condition. Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux package, specifically procps and procps-ng, is a set of utilities that provide information about processes running on a system. These tools are essential for system monitoring and management, allowing users to view and control system processes. However, a vulnerability has been identified that allows unprivileged attackers to exploit a race condition, potentially leading to process hiding.

Vulnerability Detail

CVE-2018-1121 is a vulnerability in procps-ng and procps that arises from a race condition in the reading of /proc/PID entries. The kernel's proc_pid_readdir() function returns PID entries in ascending numeric order. An attacker can leverage inotify events to detect when the process list is being scanned and then fork/exec to obtain a lower PID, effectively hiding their process from the utilities provided by procps-ng. This vulnerability affects versions up to 3.3.15, and while newer versions may also be affected, they have not been explicitly tested.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, system administrators can monitor process creation and termination closely, and implement stricter access controls to sensitive processes. However, this does not eliminate the vulnerability and should not be considered a permanent solution.

Conclusion

CVE-2018-1121 represents a significant security risk for systems using procps and procps-ng, allowing attackers to hide processes. It is crucial to update to the latest versions of these packages to mitigate the risk. Additionally, utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2018-1121 is a vulnerability in the procps-ng and procps packages that allows unprivileged attackers to hide processes through a race condition.

Versions of procps and procps-ng up to 3.3.15 are affected by this vulnerability.

You can use the Vulert platform to check if your application is affected by this vulnerability without needing to install any software.

If you cannot update the package, consider implementing stricter access controls and monitoring process activities as a temporary measure.

More information can be found in the official CVE database and on the Vulert website, which provides real-time monitoring for open-source vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback