VDB

CVE-2018-1122

CVE-2018-1122 PUBLISHED CVSS 7.3 HIGH

Reported by redhat · Published May 23, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
procps-ng-develAmazon Linux3.3.10-26.amzn2
procpsUbuntu:16.04:LTS2:3.3.10-4ubuntu2.4
procpsUbuntu:18.04:LTS2:3.3.12-3ubuntu1.1
procpsUbuntu:14.04:LTS1:3.3.9-1ubuntu2.3
procps-ngprocps-ng_project3.3.15

Risk scores

CVSS 3.0
7.3
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
[UNKNOWN]procps-ng, procpsprocps-ng 3.3.15
[UNKNOWN]procps-ng, procps3.3.15

Timeline

  • May 17, 2018 CVE Published
  • May 30, 2018 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (64 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (73 in total, the first dated here)
  • Sep 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-1122
vulnetix vdb fixes CVE-2018-1122

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1122/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›