Cloudanix VulnDB

CVE-2019-6454

Medium · 5.5

CVSS

5.5

EPSS

2.0%

Published

Mar 21, 2019

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A local user on an affected system can send a specially made request that crashes the main system process and forces the entire computer to restart.

Exploit Available
Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Variable-length stack buffer allocation in bus_process_object() for D-Bus object paths allows an unprivileged local process to send a crafted message that advances the stack pointer beyond guard pages into unmapped memory, crashing PID 1.

Why it matters to the business

A local user can trigger an immediate system-wide denial of service by forcing a kernel panic, halting all services until manual reboot; the issue affects core system stability on distributions shipping the vulnerable systemd version.

How an attack unfolds

An attacker with a local account crafts a D-Bus message containing an oversized object path, sends it directly to PID 1 over the system bus, and causes the stack guard page bypass that terminates the init process.

How to fix it

Upgrade the affected systemd package to a version containing the fix for bus-objects.c; for the listed php/php-src (GIT) component apply commit e2a082c4a94bc62dfc1d2119d4ce3301632bdfdb or later equivalent backport.

How to confirm the fix worked

Confirm the running systemd version is newer than 239 and that the patched bus_process_object() logic is present; attempt to reproduce the crash with a minimal proof-of-concept message only in an isolated test environment.

Typical attack path

  1. Obtain unprivileged local shell access
  2. Connect to the system D-Bus socket
  3. Construct and transmit a malicious D-Bus message targeting PID 1 with an oversized object path
  4. Trigger stack-pointer advancement past guard pages
  5. Observe PID 1 crash and kernel panic

How to detect it

Review system logs for sudden systemd or kernel panic entries around the time of suspected activity; look for processes that opened the system D-Bus socket and then terminated abnormally.

What your security team should do

  • Apply the fixed package version immediately on all reachable systems
  • Restrict unprivileged access to the system D-Bus where operationally feasible
  • Monitor for unexpected PID 1 restarts in system logs
  • Include the vulnerability in the next patch-window planning given its local attack surface

The record

An issue was discovered in sd-bus in systemd 239. bus_process_object() in libsystemd/sd-bus/bus-objects.c allocates a variable-length stack buffer for temporarily storing the object path of incoming D-Bus messages. An unprivileged local user can exploit this by sending a specially crafted message to PID1, causing the stack pointer to jump over the stack guard pages into an unmapped memory region and trigger a denial of service (systemd PID1 crash and kernel panic).

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 systemd 0 240-6
Debian:12 systemd 0 240-6
Debian:13 systemd 0 240-6
Debian:8 systemd 0 215-17+deb8u10
Debian:9 systemd 0 232-25+deb9u9
Red Hat:enterprise_linux:7::client libgudev1 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::client libgudev1-devel 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::client systemd 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::client systemd-debuginfo 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::client systemd-devel 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::client systemd-journal-gateway 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::client systemd-libs 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::client systemd-networkd 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::client systemd-python 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::client systemd-resolved 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::client systemd-sysv 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::computenode libgudev1 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::computenode libgudev1-devel 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::computenode systemd 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::computenode systemd-debuginfo 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::computenode systemd-devel 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::computenode systemd-journal-gateway 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::computenode systemd-libs 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::computenode systemd-networkd 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::computenode systemd-python 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::computenode systemd-resolved 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::computenode systemd-sysv 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::hypervisor redhat-release-virtualization-host 0 0:4.2-8.3.el7
Red Hat:enterprise_linux:7::hypervisor redhat-virtualization-host 0 0:4.2-20190219.0.el7_6
Red Hat:enterprise_linux:7::hypervisor redhat-virtualization-host-image-update 0 0:4.2-20190219.0.el7_6
Red Hat:enterprise_linux:7::hypervisor redhat-virtualization-host-image-update-placeholder 0 0:4.2-8.3.el7
Red Hat:enterprise_linux:7::hypervisor rhvm-appliance 0 2:4.2-20190224.0.el7
Red Hat:enterprise_linux:7::server libgudev1 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::server libgudev1-devel 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::server systemd 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::server systemd-debuginfo 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::server systemd-devel 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::server systemd-journal-gateway 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::server systemd-libs 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::server systemd-networkd 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::server systemd-python 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::server systemd-resolved 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::server systemd-sysv 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::workstation libgudev1 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::workstation libgudev1-devel 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::workstation systemd 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::workstation systemd-debuginfo 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::workstation systemd-devel 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::workstation systemd-journal-gateway 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::workstation systemd-libs 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::workstation systemd-networkd 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::workstation systemd-python 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::workstation systemd-resolved 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:7::workstation systemd-sysv 0 0:219-62.el7_6.5
Red Hat:enterprise_linux:8::baseos systemd 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-container 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-container-debuginfo 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-debuginfo 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-debugsource 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-devel 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-journal-remote 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-journal-remote-debuginfo 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-libs 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-libs-debuginfo 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-pam 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-pam-debuginfo 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-tests 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-tests-debuginfo 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-udev 0 0:239-13.el8_0.3
Red Hat:enterprise_linux:8::baseos systemd-udev-debuginfo 0 0:239-13.el8_0.3
Red Hat:rhel_aus:7.3::server libgudev1 0 0:219-30.el7_3.14
Red Hat:rhel_aus:7.3::server libgudev1-devel 0 0:219-30.el7_3.14
Red Hat:rhel_aus:7.3::server systemd 0 0:219-30.el7_3.14
Red Hat:rhel_aus:7.3::server systemd-debuginfo 0 0:219-30.el7_3.14
Red Hat:rhel_aus:7.3::server systemd-devel 0 0:219-30.el7_3.14
Red Hat:rhel_aus:7.3::server systemd-journal-gateway 0 0:219-30.el7_3.14
Red Hat:rhel_aus:7.3::server systemd-libs 0 0:219-30.el7_3.14
Red Hat:rhel_aus:7.3::server systemd-networkd 0 0:219-30.el7_3.14
Red Hat:rhel_aus:7.3::server systemd-python 0 0:219-30.el7_3.14
Red Hat:rhel_aus:7.3::server systemd-resolved 0 0:219-30.el7_3.14
Red Hat:rhel_aus:7.3::server systemd-sysv 0 0:219-30.el7_3.14
Red Hat:rhel_e4s:7.3::server libgudev1 0 0:219-30.el7_3.14
Red Hat:rhel_e4s:7.3::server libgudev1-devel 0 0:219-30.el7_3.14
Red Hat:rhel_e4s:7.3::server systemd 0 0:219-30.el7_3.14
Red Hat:rhel_e4s:7.3::server systemd-debuginfo 0 0:219-30.el7_3.14
Red Hat:rhel_e4s:7.3::server systemd-devel 0 0:219-30.el7_3.14
Red Hat:rhel_e4s:7.3::server systemd-journal-gateway 0 0:219-30.el7_3.14
Red Hat:rhel_e4s:7.3::server systemd-libs 0 0:219-30.el7_3.14
Red Hat:rhel_e4s:7.3::server systemd-networkd 0 0:219-30.el7_3.14
Red Hat:rhel_e4s:7.3::server systemd-python 0 0:219-30.el7_3.14
Red Hat:rhel_e4s:7.3::server systemd-resolved 0 0:219-30.el7_3.14
Red Hat:rhel_e4s:7.3::server systemd-sysv 0 0:219-30.el7_3.14
Red Hat:rhel_eus:7.4::computenode libgudev1 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::computenode libgudev1-devel 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::computenode systemd 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::computenode systemd-debuginfo 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::computenode systemd-devel 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::computenode systemd-journal-gateway 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::computenode systemd-libs 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::computenode systemd-networkd 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::computenode systemd-python 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::computenode systemd-resolved 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::computenode systemd-sysv 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::server libgudev1 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::server libgudev1-devel 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::server systemd 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::server systemd-debuginfo 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::server systemd-devel 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::server systemd-journal-gateway 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::server systemd-libs 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::server systemd-networkd 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::server systemd-python 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::server systemd-resolved 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.4::server systemd-sysv 0 0:219-42.el7_4.16
Red Hat:rhel_eus:7.5::computenode libgudev1 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::computenode libgudev1-devel 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::computenode systemd 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::computenode systemd-debuginfo 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::computenode systemd-devel 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::computenode systemd-journal-gateway 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::computenode systemd-libs 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::computenode systemd-networkd 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::computenode systemd-python 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::computenode systemd-resolved 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::computenode systemd-sysv 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::server libgudev1 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::server libgudev1-devel 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::server systemd 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::server systemd-debuginfo 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::server systemd-devel 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::server systemd-journal-gateway 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::server systemd-libs 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::server systemd-networkd 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::server systemd-python 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::server systemd-resolved 0 0:219-57.el7_5.6
Red Hat:rhel_eus:7.5::server systemd-sysv 0 0:219-57.el7_5.6
Red Hat:rhel_tus:7.3::server libgudev1 0 0:219-30.el7_3.14
Red Hat:rhel_tus:7.3::server libgudev1-devel 0 0:219-30.el7_3.14
Red Hat:rhel_tus:7.3::server systemd 0 0:219-30.el7_3.14
Red Hat:rhel_tus:7.3::server systemd-debuginfo 0 0:219-30.el7_3.14
Red Hat:rhel_tus:7.3::server systemd-devel 0 0:219-30.el7_3.14
Red Hat:rhel_tus:7.3::server systemd-journal-gateway 0 0:219-30.el7_3.14
Red Hat:rhel_tus:7.3::server systemd-libs 0 0:219-30.el7_3.14
Red Hat:rhel_tus:7.3::server systemd-networkd 0 0:219-30.el7_3.14
Red Hat:rhel_tus:7.3::server systemd-python 0 0:219-30.el7_3.14
Red Hat:rhel_tus:7.3::server systemd-resolved 0 0:219-30.el7_3.14
Red Hat:rhel_tus:7.3::server systemd-sysv 0 0:219-30.el7_3.14
SUSE:Enterprise Storage 4 systemd 0 228-150.63.1
SUSE:Enterprise Storage 4 systemd 0 228-150.66.4
SUSE:Linux Enterprise Desktop 12 SP3 systemd 0 228-150.63.1
SUSE:Linux Enterprise Desktop 12 SP3 systemd 0 228-150.66.4
SUSE:Linux Enterprise Desktop 12 SP4 systemd 0 228-150.63.1
SUSE:Linux Enterprise Desktop 12 SP4 systemd 0 228-150.66.4
SUSE:Linux Enterprise Module for Basesystem 15 systemd 0 234-24.25.1
SUSE:Linux Enterprise Module for Basesystem 15 systemd 0 234-24.30.1
SUSE:Linux Enterprise Module for Basesystem 15 SP1 systemd 0 234-24.30.1
SUSE:Linux Enterprise Server 12 SP1-LTSS systemd 0 210-116.22.1
SUSE:Linux Enterprise Server 12 SP2-BCL systemd 0 228-150.63.1
SUSE:Linux Enterprise Server 12 SP2-BCL systemd 0 228-150.66.4
SUSE:Linux Enterprise Server 12 SP2-LTSS systemd 0 228-150.63.1
SUSE:Linux Enterprise Server 12 SP2-LTSS systemd 0 228-150.66.4
SUSE:Linux Enterprise Server 12 SP3 systemd 0 228-150.63.1
SUSE:Linux Enterprise Server 12 SP3 systemd 0 228-150.66.4
SUSE:Linux Enterprise Server 12 SP4 systemd 0 228-150.63.1
SUSE:Linux Enterprise Server 12 SP4 systemd 0 228-150.66.4
SUSE:Linux Enterprise Server 12-LTSS systemd 0 210-70.77.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 systemd 0 210-116.22.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 systemd 0 228-150.63.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 systemd 0 228-150.66.4
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 systemd 0 228-150.63.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 systemd 0 228-150.66.4
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 systemd 0 228-150.63.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 systemd 0 228-150.66.4
SUSE:Linux Enterprise Software Development Kit 12 SP3 systemd 0 228-150.63.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 systemd 0 228-150.66.4
SUSE:Linux Enterprise Software Development Kit 12 SP4 systemd 0 228-150.63.1
SUSE:Linux Enterprise Software Development Kit 12 SP4 systemd 0 228-150.66.4
SUSE:OpenStack Cloud 7 systemd 0 228-150.63.1
SUSE:OpenStack Cloud 7 systemd 0 228-150.66.4
Ubuntu:16.04:LTS systemd 0 229-4ubuntu21.16
Ubuntu:18.04:LTS systemd 0 237-3ubuntu10.13
openSUSE:Leap 15.0 systemd 0 234-lp150.20.15.1
openSUSE:Leap 15.0 systemd-mini 0 234-lp150.20.15.1
openSUSE:Tumbleweed systemd 0 249.4-2.2

Related vulnerabilities