Vulnerability database / CVE-2018-1122
CVE-2018-1122
HIGH 7.0 CVSS 3.0 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.
Published 23 May 2018
Last modified 17 Jun 2026 Assigned by secalert@redhat.com NVD status Modified Weakness
CWE-829 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
secalert@redhat.com (Secondary)
CVSS 3.0
HIGH 7.3
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 3.0
HIGH 7.0
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 4.4
AV:L/AC:M/Au:N/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
procps-ng_project
procps-ngcpe:2.3:a:procps-ng_project:procps-ng:*:*:*:*:*:*:*:*
< 3.3.15
3.3.15 NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*
= 12.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
= 17.10
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
References
History
25 Nov 2026 20:21 UTC · NVD: first stored (published 23 May 2018)