CVE-2018-16864 Denial of service in systemd

High 7.4 Published Updated

A local attacker can crash systemd-journald or escalate privileges by triggering a memory allocation flaw via long command line arguments.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2018-16864?

CVE-2018-16864 is a high-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 11 Jan 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An allocation of memory without limits, that could result in the stack clashing with another memory region, was discovered in systemd-journald when a program with long command line arguments calls syslog. A local attacker may use this flaw to crash systemd-journald or escalate his privileges. Versions through v240 are vulnerable.

Weakness: CWE-770

Which versions are affected by CVE-2018-16864?

It affects 11 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Oracle Communications Session Border Controller, Oracle Enterprise Communications Broker, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server and 5 more.

How do I fix CVE-2018-16864?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2018-16864 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-16864, GHSA-h53q-m6g5-wfq9, UBUNTU-CVE-2018-16864.

Is CVE-2018-16864 in your software?

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

Check your SBOMs for free