CVE-2018-1124 Integer overflow in procps-ng

High 7.3 Published Updated

Local attackers can trigger integer overflows in procps-ng to achieve privilege escalation or arbitrary code execution via crafted process entries.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-1124?

CVE-2018-1124 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 23 May 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

procps-ng before version 3.3.15 is vulnerable to multiple integer overflows leading to a heap corruption in file2strvec function. This allows a privilege escalation for a local attacker who can create entries in procfs by starting processes, which could result in crashes or arbitrary code execution in proc utilities run by other users.

Weakness: CWE-787, CWE-190, CWE-122

Which versions are affected by CVE-2018-1124?

It affects 9 products.

Linux distribution packages (12)
procps-ng Red Hat:rhel_aus:7.3::serverAll versions0:3.3.10-10.el7_3.1
procps-ng-debuginfo Red Hat:rhel_aus:7.3::serverAll versions0:3.3.10-10.el7_3.1
procps-ng-devel Red Hat:rhel_aus:7.3::serverAll versions0:3.3.10-10.el7_3.1
procps-ng-i18n Red Hat:rhel_aus:7.3::serverAll versions0:3.3.10-10.el7_3.1
procps-ng Red Hat:rhel_e4s:7.3::serverAll versions0:3.3.10-10.el7_3.1
procps-ng-debuginfo Red Hat:rhel_e4s:7.3::serverAll versions0:3.3.10-10.el7_3.1
procps-ng-devel Red Hat:rhel_e4s:7.3::serverAll versions0:3.3.10-10.el7_3.1
procps-ng-i18n Red Hat:rhel_e4s:7.3::serverAll versions0:3.3.10-10.el7_3.1
procps-ng Red Hat:rhel_tus:7.3::serverAll versions0:3.3.10-10.el7_3.1
procps-ng-debuginfo Red Hat:rhel_tus:7.3::serverAll versions0:3.3.10-10.el7_3.1
procps-ng-devel Red Hat:rhel_tus:7.3::serverAll versions0:3.3.10-10.el7_3.1
procps-ng-i18n Red Hat:rhel_tus:7.3::serverAll versions0:3.3.10-10.el7_3.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Opensuse Leap, Procps-Ng Project Procps-Ng, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop and 3 more.

How do I fix CVE-2018-1124?

Upgrade to a fixed version.

Is CVE-2018-1124 being exploited?

There is no known exploitation of CVE-2018-1124 in the wild and no public exploit code.

Public exploit code: 2 Exploit-DB entries.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-1124, GHSA-6m7w-m36x-76pq, RHSA-2019:2401, UBUNTU-CVE-2018-1124.

Is CVE-2018-1124 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free