CVE-2016-7795 Denial of service in n/a

Medium 5.5 Published Updated

Local attackers can cause a denial of service by sending a zero-length message to the systemd notify socket, triggering an assertion failure and hanging PID 1.

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

What is CVE-2016-7795?

CVE-2016-7795 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 13 Oct 2016. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The manager_invoke_notify_message function in systemd 231 and earlier allows local users to cause a denial of service (assertion failure and PID 1 hang) via a zero-length message received over a notify socket.

Weakness: CWE-20

Which versions are affected by CVE-2016-7795?

It affects 2 products.

Linux distribution packages (40)
libgudev1 Red Hat:enterprise_linux:7::clientAll versions0:219-30.el7_3.3
libgudev1-devel Red Hat:enterprise_linux:7::clientAll versions0:219-30.el7_3.3
systemd Red Hat:enterprise_linux:7::clientAll versions0:219-30.el7_3.3
systemd-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:219-30.el7_3.3
systemd-devel Red Hat:enterprise_linux:7::clientAll versions0:219-30.el7_3.3
systemd-journal-gateway Red Hat:enterprise_linux:7::clientAll versions0:219-30.el7_3.3
systemd-libs Red Hat:enterprise_linux:7::clientAll versions0:219-30.el7_3.3
systemd-networkd Red Hat:enterprise_linux:7::clientAll versions0:219-30.el7_3.3
systemd-python Red Hat:enterprise_linux:7::clientAll versions0:219-30.el7_3.3
systemd-resolved Red Hat:enterprise_linux:7::clientAll versions0:219-30.el7_3.3
systemd-sysv Red Hat:enterprise_linux:7::clientAll versions0:219-30.el7_3.3
libgudev1 Red Hat:enterprise_linux:7::computenodeAll versions0:219-30.el7_3.3
libgudev1-devel Red Hat:enterprise_linux:7::computenodeAll versions0:219-30.el7_3.3
systemd Red Hat:enterprise_linux:7::computenodeAll versions0:219-30.el7_3.3
systemd-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions0:219-30.el7_3.3
systemd-devel Red Hat:enterprise_linux:7::computenodeAll versions0:219-30.el7_3.3
systemd-journal-gateway Red Hat:enterprise_linux:7::computenodeAll versions0:219-30.el7_3.3
systemd-libs Red Hat:enterprise_linux:7::computenodeAll versions0:219-30.el7_3.3
systemd-networkd Red Hat:enterprise_linux:7::computenodeAll versions0:219-30.el7_3.3
systemd-python Red Hat:enterprise_linux:7::computenodeAll versions0:219-30.el7_3.3
systemd-resolved Red Hat:enterprise_linux:7::computenodeAll versions0:219-30.el7_3.3
systemd-sysv Red Hat:enterprise_linux:7::computenodeAll versions0:219-30.el7_3.3
libgudev1 Red Hat:enterprise_linux:7::serverAll versions0:219-30.el7_3.3
libgudev1-devel Red Hat:enterprise_linux:7::serverAll versions0:219-30.el7_3.3
systemd Red Hat:enterprise_linux:7::serverAll versions0:219-30.el7_3.3
systemd-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:219-30.el7_3.3
systemd-devel Red Hat:enterprise_linux:7::serverAll versions0:219-30.el7_3.3
systemd-journal-gateway Red Hat:enterprise_linux:7::serverAll versions0:219-30.el7_3.3
systemd-libs Red Hat:enterprise_linux:7::serverAll versions0:219-30.el7_3.3
systemd-networkd Red Hat:enterprise_linux:7::serverAll versions0:219-30.el7_3.3
systemd-python Red Hat:enterprise_linux:7::serverAll versions0:219-30.el7_3.3
systemd-resolved Red Hat:enterprise_linux:7::serverAll versions0:219-30.el7_3.3
systemd-sysv Red Hat:enterprise_linux:7::serverAll versions0:219-30.el7_3.3
libgudev1 Red Hat:enterprise_linux:7::workstationAll versions0:219-30.el7_3.3
libgudev1-devel Red Hat:enterprise_linux:7::workstationAll versions0:219-30.el7_3.3
systemd Red Hat:enterprise_linux:7::workstationAll versions0:219-30.el7_3.3
systemd-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:219-30.el7_3.3
systemd-devel Red Hat:enterprise_linux:7::workstationAll versions0:219-30.el7_3.3
systemd-journal-gateway Red Hat:enterprise_linux:7::workstationAll versions0:219-30.el7_3.3
systemd-libs Red Hat:enterprise_linux:7::workstationAll versions0:219-30.el7_3.3

Products include Canonical Ubuntu Linux, Systemd Project Systemd.

How do I fix CVE-2016-7795?

Apply the vendor's patch.

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-2016-7795 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-7795, GHSA-r5cr-2q2m-4c59, MGASA-2016-0380, RHSA-2016:2610, RHSA-2016:2694, UBUNTU-CVE-2016-7795.

Is CVE-2016-7795 in your software?

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

Check your SBOMs for free