Skip to content
OpenAdvisories
Unscored CVE-2022-0358 EUVD-2022-15514GHSA-mv2v-9q68-4c8h

A flaw was found in the QEMU virtio-fs shared file system daemon (virtiofsd) implementation. This flaw is strictly related to CVE-2018-1340…

Published Aug 29, 2022 · Updated Aug 2, 2024 · Assigned by redhat

Description

A flaw was found in the QEMU virtio-fs shared file system daemon (virtiofsd) implementation. This flaw is strictly related to CVE-2018-13405. A local guest user can create files in the directories shared by virtio-fs with unintended group ownership in a scenario where a directory is SGID to a certain group and is writable by a user who is not a member of the group. This could allow a malicious unprivileged user inside the guest to gain access to resources accessible to the root group, potentially escalating their privileges within the guest. A malicious local user in the host might also leverage this unexpected executable file created by the guest to escalate their privileges on the host system.

Affected products

VendorProductAffectedFixed
— QEMU/virtiofsd Fixed in qemu v6.2.0-7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 qemu 1:7.0+dfsg-1 —
Debian 13 qemu 1:7.0+dfsg-1 —
Debian 12 qemu 1:7.0+dfsg-1 —
Debian 11 qemu 1:5.2+dfsg-11+deb11u2 DSA-5133-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS qemu 1:6.2+dfsg-2ubuntu6.2 USN-5489-1
Ubuntu 20.04 LTS qemu 1:4.2-3ubuntu6.21 USN-5489-1, USN-5307-1
Ubuntu 18.04 LTS qemu 1:2.11+dfsg-1ubuntu7.39 USN-5489-1, USN-5307-1
ReleasePackageFixed inAdvisory
RHEL 8 SLOF 20191022-3.git899d9883.module+el8.2.0+5449+efc036dd RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 hivex +6 1.3.18-20.module+el8.2.0+5588+63a201c3 RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 libguestfs-winsupport 8.2-1.module+el8.3.0+6423+e4cb6418 RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 libiscsi +2 1.18.0-8.module+el8.1.0+4066+0f1aadab RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 libnbd +5 1.2.2-1.module+el8.2.0+5644+32ac38d4 RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 libnbd-bash-completion 1.6.0-5.module+el8.4.0+14155+dec4a5c7 RHSA-2022:0971, RHSA-2022:0949
RHEL 8 libtpms +1 0.7.0-1.20191018gitdc116933b7.module+el8.2.0+4793+b09dd2fb RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 libvirt +28 6.0.0-25.6.module+el8.2.1+12457+868e9540 RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 libvirt-dbus 1.3.0-2.module+el8.2.0+4793+b09dd2fb RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 libvirt-python +1 6.0.0-1.module+el8.2.0+5453+31b2b136 RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 libvirt-wireshark 7.0.0-14.6.module+el8.4.0+13801+378af433 RHSA-2022:0971, RHSA-2022:0949
RHEL 8 nbdkit +13 1.16.2-4.module+el8.2.1+6710+effcb1df RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 nbdkit-nbd-plugin +4 1.24.0-1.module+el8.4.0+9341+96cf2672 RHSA-2022:0971, RHSA-2022:0949
RHEL 8 netcf +2 0.2.8-12.module+el8.1.0+4066+0f1aadab RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 perl-Sys-Virt 6.0.0-1.module+el8.2.0+5488+267def79 RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 python-pyvmomi +1 6.7.1-7.module+el8.2.0+4793+b09dd2fb RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 qemu-img +10 15:4.2.0-29.module+el8.2.1+14195+13a89360.11 RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 qemu-kiwi +3 15:5.2.0-16.module+el8.4.0+14193+48a3f5f5.15 RHSA-2022:0971, RHSA-2022:0949
RHEL 8 qemu-kvm-hw-usbredir 15:6.0.0-33.module+el8.5.0+14188+8c5ecfdd.3 RHSA-2022:0949
RHEL 8 seabios +2 1.13.0-2.module+el8.2.1+7284+aa32a2c4 RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 sgabios +1 1:0.20170427git-3.module+el8.1.0+4066+0f1aadab RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 supermin +1 5.1.19-10.module+el8.2.0+4793+b09dd2fb RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 swtpm +3 0.2.0-2.20200127gitff5a83b.module+el8.2.0+5579+d71178e0 RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 swtpm-tools-pkcs11 0.6.0-2.20210607gitea627b3.module+el8.5.0+12696+4ce1c6bc RHSA-2022:0949
RHEL 8 virglrenderer +2 0.8.2-1.module+el8.2.0+5777+d9c2af8c RHSA-2022:0973
RHEL 8 virt-dib +25 1:1.40.2-24.module+el8.2.1+7154+47ffd890 RHSA-2022:0973, RHSA-2022:0971, RHSA-2022:0949
RHEL 8 virt-v2v-man-pages-ja +2 1:1.42.0-9.module+el8.4.0+9561+069bb9c1 RHSA-2022:0971, RHSA-2022:0949
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.4 EUS SLOF 20191022-3.git899d9883.module+el8.3.0+6423+e4cb6418 RHSA-2022:0759
RHEL 8.4 EUS hivex +6 1.3.18-21.module+el8.4.0+10770+19c037f9 RHSA-2022:0759
RHEL 8.4 EUS libguestfs-winsupport 8.2-1.module+el8.3.0+6423+e4cb6418 RHSA-2022:0759
RHEL 8.4 EUS libiscsi +2 1.18.0-8.module+el8.1.0+4066+0f1aadab RHSA-2022:0759
RHEL 8.4 EUS libnbd +5 1.2.2-1.module+el8.3.0+7353+9de0a3cc RHSA-2022:0759
RHEL 8.4 EUS libvirt +28 6.0.0-35.2.module+el8.4.0+14226+d39fa4ab RHSA-2022:0759
RHEL 8.4 EUS libvirt-dbus 1.3.0-2.module+el8.3.0+6423+e4cb6418 RHSA-2022:0759
RHEL 8.4 EUS nbdkit +13 1.16.2-4.module+el8.3.0+6922+fd575af8 RHSA-2022:0759
RHEL 8.4 EUS netcf +2 0.2.8-12.module+el8.1.0+4066+0f1aadab RHSA-2022:0759
RHEL 8.4 EUS perl-Sys-Virt +2 6.0.0-1.module+el8.3.0+6423+e4cb6418 RHSA-2022:0759
RHEL 8.4 EUS qemu-img +10 15:4.2.0-48.module+el8.4.0+14171+d59d4af6.4 RHSA-2022:0759
RHEL 8.4 EUS seabios +2 1.13.0-2.module+el8.3.0+7353+9de0a3cc RHSA-2022:0759
RHEL 8.4 EUS sgabios +1 1:0.20170427git-3.module+el8.1.0+4066+0f1aadab RHSA-2022:0759
RHEL 8.4 EUS supermin +1 5.1.19-10.module+el8.3.0+6423+e4cb6418 RHSA-2022:0759
RHEL 8.4 EUS virt-dib +25 1:1.40.2-27.module+el8.4.0+9282+0bdec052 RHSA-2022:0759

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 libiscsi +2 1.18.0-8.module_el8.6.0+2880+7d9e3703 ALSA-2022:0886
AlmaLinux 8 libvirt-dbus 1.3.0-2.module_el8.6.0+2880+7d9e3703 ALSA-2022:0886
AlmaLinux 8 netcf +2 0.2.8-12.module_el8.6.0+2880+7d9e3703 ALSA-2022:0886
AlmaLinux 8 qemu-img +9 15:4.2.0-59.module_el8.5.0+2629+68d2f392.2 ALSA-2022:0886
AlmaLinux 8 sgabios +1 1:0.20170427git-3.module_el8.6.0+2880+7d9e3703 ALSA-2022:0886

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 hivex 1.3.18-21.module+el8.4.0+642+7e26f5e1 RLSA-2022:0886
Rocky Linux 8 libguestfs 1:1.40.2-28.module+el8.5.0+670+c4aa478c RLSA-2022:0886
Rocky Linux 8 libguestfs-winsupport 8.2-1.module+el8.4.0+534+4680a14e RLSA-2022:0886
Rocky Linux 8 libiscsi 1.18.0-8.module+el8.4.0+534+4680a14e RLSA-2022:0886
Rocky Linux 8 libnbd 1.2.2-1.module+el8.4.0+534+4680a14e RLSA-2022:0886
Rocky Linux 8 libvirt 6.0.0-37.1.module+el8.5.0+732+d204e9f7 RLSA-2022:0886
Rocky Linux 8 libvirt-dbus 1.3.0-2.module+el8.4.0+534+4680a14e RLSA-2022:0886
Rocky Linux 8 nbdkit 1.16.2-4.module+el8.4.0+534+4680a14e RLSA-2022:0886
Rocky Linux 8 netcf 0.2.8-12.module+el8.4.0+534+4680a14e RLSA-2022:0886
Rocky Linux 8 perl-Sys-Virt +1 6.0.0-1.module+el8.4.0+534+4680a14e RLSA-2022:0886
Rocky Linux 8 qemu-kvm 5:4.2.0-59.module+el8.5.0+670+c4aa478c RLSA-2022:0886
Rocky Linux 8 seabios 1.13.0-2.module+el8.4.0+534+4680a14e RLSA-2022:0886
Rocky Linux 8 sgabios 1:0.20170427git-3.module+el8.4.0+534+4680a14e RLSA-2022:0886
Rocky Linux 8 supermin 5.1.19-10.module+el8.4.0+534+4680a14e RLSA-2022:0886
ReleasePackageFixed inAdvisory
SLES 15 SP3 qemu 5.2.0-150300.112.4 SUSE-SU-2022:0930-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.2 qemu 5.2.0-150300.112.4 SUSE-SU-2022:0930-2
SLE Micro 5.1 qemu 5.2.0-150300.112.4 SUSE-SU-2022:0930-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed qemu 6.2.0-41.1 openSUSE-SU-2024:11907-1
openSUSE Leap 15.3 qemu 5.2.0-150300.112.4 openSUSE-SU-2022:0930-1
openSUSE Leap 15.3 qemu-linux-user 5.2.0-150300.112.3 openSUSE-SU-2022:0930-1
openSUSE Leap 15.3 qemu-testsuite 5.2.0-150300.112.7 openSUSE-SU-2022:0930-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 qemu 6.2.0-18 —
Azure Linux 2 (CBL-Mariner) qemu 6.2.0-5 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 hivex +6 1.3.18-21.module+el8.5.0+20365+3abb8f5b ELSA-2022-0886
Oracle Linux 8 libguestfs-winsupport 8.2-1.module+el8.3.0+7860+a7792d29 ELSA-2022-0886
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.3.0+7860+a7792d29 ELSA-2022-0886
Oracle Linux 8 libnbd +5 1.2.2-1.module+el8.3.0+7860+a7792d29 ELSA-2022-0886
Oracle Linux 8 libvirt +28 6.0.0-37.1.0.1.module+el8.5.0+20490+52363fdb ELSA-2022-0886
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.3.0+7860+a7792d29 ELSA-2022-0886
Oracle Linux 8 nbdkit +13 1.16.2-4.0.1.module+el8.3.0+7860+a7792d29 ELSA-2022-0886
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.3.0+7860+a7792d29 ELSA-2022-0886
Oracle Linux 8 perl-Sys-Virt +1 6.0.0-1.module+el8.3.0+7860+a7792d29 ELSA-2022-0886
Oracle Linux 8 qemu-img +10 15:4.2.0-59.module+el8.5.0+20519+ef047602.2 ELSA-2022-0886
Oracle Linux 8 seabios +2 1.13.0-2.module+el8.3.0+7860+a7792d29 ELSA-2022-0886
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.3.0+7860+a7792d29 ELSA-2022-0886
Oracle Linux 8 supermin +1 5.1.19-10.module+el8.3.0+7860+a7792d29 ELSA-2022-0886
Oracle Linux 8 virt-dib +25 1:1.40.2-28.0.1.module+el8.5.0+20363+3abb8f5b ELSA-2022-0886

Advisories 17

References