cve.bz

CVE-2018-1122

7.0 highExploitEPSS 1.2%

High (7.0). EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.0 high
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-829 Inclusion of Functionality from Untrusted Control Sphere
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1122 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1122?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1122?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1122 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
procps-ng_project:procps-ngbefore 3.3.15
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
canonical:ubuntu_linux18.04
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7procps1:3.3.3-3+deb7u1DLA-1390-1
Debian8procps2:3.3.9-9+deb8u1DSA-4208-1
Debian9procps2:3.3.12-3+deb9u1DSA-4208-1
Debian12, 13, 14procps2:3.3.15-1DEBIAN-CVE-2018-1122
Ubuntu14.04:LTSprocps1:3.3.9-1ubuntu2.3UBUNTU-CVE-2018-1122 USN-3658-1
Ubuntu16.04:LTSprocps2:3.3.10-4ubuntu2.4UBUNTU-CVE-2018-1122 USN-3658-1
Ubuntu18.04:LTSprocps2:3.3.12-3ubuntu1.1UBUNTU-CVE-2018-1122 USN-3658-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreprocps-ng, procps-ng-i18n, procps-ng-devel and 1 more0:3.3.10-26.el7RHSA-2019:2189
Red Hatrhel_aus:7.4::server, rhel_e4s:7.4::server, rhel_tus:7.4::serverprocps-ng, procps-ng-i18n, procps-ng-devel and 1 more0:3.3.10-16.el7_4.2RHSA-2020:0595
Red Hatrhel_eus:7.5::computenode, rhel_eus:7.5::serverprocps-ng, procps-ng-i18n, procps-ng-devel and 1 more0:3.3.10-17.el7_5.4RHSA-2020:1265
Red Hatrhel_eus:7.6::computenode, rhel_eus:7.6::serverprocps-ng, procps-ng-i18n, procps-ng-devel and 1 more0:3.3.10-23.el7_6.2RHSA-2020:1464
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4 and 12 moreprocps3.3.9-11.18.1SUSE-SU-2019:0450-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3 and 1 moreprocps3.3.9-11.11.1SUSE-SU-2018:1836-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3 and 1 moreprocps3.3.9-11.14.1SUSE-SU-2018:2451-2
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1procps3.3.15-7.7.26SUSE-SU-2019:2730-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4procps3.2.7-152.31.1SUSE-SU-2018:2042-1
SUSELinux Enterprise Server for SAP Applications 12 SP1procps3.3.9-11.18.1SUSE-SU-2019:0450-2
openSUSELeap 15.0procps3.3.15-lp150.5.3.1openSUSE-SU-2019:2379-1
openSUSELeap 15.1procps3.3.15-lp151.6.3.1openSUSE-SU-2019:2376-1
openSUSETumbleweedprocps3.3.17-5.2openSUSE-SU-2024:11195-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ansible Tower 3.4 for RHEL 7ansible-tower-34/ansible-tower-memcached:1.4.15-28Fixed 2020-02-18RHBA-2020:0547
Red Hat Ansible Tower 3.4 for RHEL 7ansible-tower-35/ansible-tower-memcached:1.4.15-28Fixed 2020-02-18RHBA-2020:0547
Red Hat Ansible Tower 3.4 for RHEL 7ansible-tower-37/ansible-tower-memcached-rhel7:1.4.15-28Fixed 2020-02-18RHBA-2020:0547
Red Hat Enterprise Linux 7procps-ng-0:3.3.10-26.el7Fixed 2019-08-06RHSA-2019:2189
Red Hat Enterprise Linux 7.4 Advanced Update Supportprocps-ng-0:3.3.10-16.el7_4.2Fixed 2020-02-25RHSA-2020:0595
Red Hat Enterprise Linux 7.4 Telco Extended Update Supportprocps-ng-0:3.3.10-16.el7_4.2Fixed 2020-02-25RHSA-2020:0595
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutionsprocps-ng-0:3.3.10-16.el7_4.2Fixed 2020-02-25RHSA-2020:0595
Red Hat Enterprise Linux 7.5 Extended Update Supportprocps-ng-0:3.3.10-17.el7_5.4Fixed 2020-04-01RHSA-2020:1265
Red Hat Enterprise Linux 7.6 Extended Update Supportprocps-ng-0:3.3.10-23.el7_6.2Fixed 2020-04-14RHSA-2020:1464
Red Hat Enterprise Linux 5procpsWill not fix
Red Hat Enterprise Linux 6procpsWill not fix
Red Hat Enterprise Linux 8procps-ngNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1122.

Public exploits

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-829 (13).

References

Check your stackJSON