Memory leak in systemd-journald - CVE-2019-3815

 

Memory leak in systemd-journald - CVE-2019-3815

Published: February 4, 2019


Vulnerability identifier: #VU17361
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2019-3815
CWE-ID: CWE-401
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Freedesktop.org
Affected software:
systemd-journald

Detailed vulnerability description

The vulnerability allows a local attacker to cause DoS condition on the target system.

The weakness exists due to the function dispatch_message_real() in journald-server.c does not free the memory allocated by set_iovec_field_free() to store the `_CMDLINE=` entry. A local attacker can trigger memory leak in journald-server.c and cause the service to crash.

The vulnerability exists due to insufficient fix for CVE-2018-16864.

How to mitigate CVE-2019-3815

Install update from vendor's website.

Sources