CVE-2019-3831 Privilege escalation in vdsm

Medium 6.4 Published Updated

A local attacker with vdsm system user access can execute arbitrary commands as root via the systemd_run function, leading to full system compromise.

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

What is CVE-2019-3831?

CVE-2019-3831 is a medium-severity vulnerability in [UNKNOWN] vdsm, published on 25 Mar 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was discovered in vdsm, version 4.19 through 4.30.3 and 4.30.5 through 4.30.8. The systemd_run function exposed to the vdsm system user could be abused to execute arbitrary commands as root.

Weakness: CWE-863

Which versions are affected by CVE-2019-3831?

It affects 2 products.

Linux distribution packages (40)
vdsm Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-api Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-client Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-common Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-gluster Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-hook-checkips Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-hook-cpuflags Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-hook-ethtool-options Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-hook-extra-ipv4-addrs Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-hook-fcoe Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-hook-localdisk Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-hook-macspoof Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-hook-nestedvt Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-hook-openstacknet Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-hook-vhostmd Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-hook-vmfex-dev Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-http Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-jsonrpc Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-network Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-python Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
vdsm-yajsonrpc Red Hat:enterprise_linux:7::hypervisorAll versions0:4.20.47-1.el7ev
ioprocess Red Hat:storage:3.4:server:el7All versions0:1.1.2-1.el7ev
ioprocess-debuginfo Red Hat:storage:3.4:server:el7All versions0:1.1.2-1.el7ev
python2-ioprocess Red Hat:storage:3.4:server:el7All versions0:1.1.2-1.el7ev
safelease Red Hat:storage:3.4:server:el7All versions0:1.0-7.el7ev
safelease-debuginfo Red Hat:storage:3.4:server:el7All versions0:1.0-7.el7ev
vdsm Red Hat:storage:3.4:server:el7All versions0:4.30.18-1.0.el7rhgs
vdsm-api Red Hat:storage:3.4:server:el7All versions0:4.30.18-1.0.el7rhgs
vdsm-client Red Hat:storage:3.4:server:el7All versions0:4.30.18-1.0.el7rhgs
vdsm-common Red Hat:storage:3.4:server:el7All versions0:4.30.18-1.0.el7rhgs
vdsm-gluster Red Hat:storage:3.4:server:el7All versions0:4.30.18-1.0.el7rhgs
vdsm-hook-cpuflags Red Hat:storage:3.4:server:el7All versions0:4.30.18-1.0.el7rhgs
vdsm-hook-ethtool-options Red Hat:storage:3.4:server:el7All versions0:4.30.18-1.0.el7rhgs
vdsm-hook-faqemu Red Hat:storage:3.4:server:el7All versions0:4.30.18-1.0.el7rhgs
vdsm-hook-fcoe Red Hat:storage:3.4:server:el7All versions0:4.30.18-1.0.el7rhgs
vdsm-hook-localdisk Red Hat:storage:3.4:server:el7All versions0:4.30.18-1.0.el7rhgs
vdsm-hook-macspoof Red Hat:storage:3.4:server:el7All versions0:4.30.18-1.0.el7rhgs
vdsm-hook-openstacknet Red Hat:storage:3.4:server:el7All versions0:4.30.18-1.0.el7rhgs
vdsm-hook-qemucmdline Red Hat:storage:3.4:server:el7All versions0:4.30.18-1.0.el7rhgs
vdsm-hook-vmfex-dev Red Hat:storage:3.4:server:el7All versions0:4.30.18-1.0.el7rhgs

Products include Ovirt Vdsm, Redhat Gluster Storage.

How do I fix CVE-2019-3831?

Apply the vendor's patch.

Is CVE-2019-3831 being exploited?

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

Sources

Also known as GHSA-mgfj-qcpq-xx99, RHBA-2019:1965, RHSA-2019:0458.

Is CVE-2019-3831 in your software?

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

Check your SBOMs for free