Skip to content

CVE-2022-0358 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 sha...

HighCVSS 7.8 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebianRed Hat

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.

Upgrade path

6 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/qemu(Debian 12) < 1:7.0+dfsg-1 1:7.0+dfsg-1 Fixed
debian/qemu(Debian 13) < 1:7.0+dfsg-1 1:7.0+dfsg-1 Fixed
debian/qemu(Debian 14) < 1:7.0+dfsg-1 1:7.0+dfsg-1 Fixed
qemu < 6.2.0-7 6.2.0-7 Fixed
ubuntu/qemu(Ubuntu 22.04) < 1:6.2+dfsg-2ubuntu6.2; = 1:6.0+dfsg-2expubuntu1; = 1:6.0+dfsg-2expubuntu2; = 1:6.0+dfsg-2expubuntu4 +3 more 1:6.2+dfsg-2ubuntu6.2 Fixed
redhat enterprise linux = 8.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ubuntu/qemu(Ubuntu:22.04) < 1:6.2+dfsg-2ubuntu6.2 1:6.2+dfsg-2ubuntu6.2
qemu < 6.2.0-7 6.2.0-7
redhat enterprise linux = 8.0 No fix listed
ubuntu/qemu(Ubuntu:22.04) = 1:6.0+dfsg-2expubuntu1 No fix listed
ubuntu/qemu(Ubuntu:22.04) = 1:6.0+dfsg-2expubuntu2 No fix listed
ubuntu/qemu(Ubuntu:22.04) = 1:6.0+dfsg-2expubuntu4 No fix listed
ubuntu/qemu(Ubuntu:22.04) = 1:6.2+dfsg-2ubuntu5 No fix listed
ubuntu/qemu(Ubuntu:22.04) = 1:6.2+dfsg-2ubuntu6 No fix listed
ubuntu/qemu(Ubuntu:22.04) = 1:6.2+dfsg-2ubuntu6.1 No fix listed
debian/qemu(Debian:12) < 1:7.0+dfsg-1 1:7.0+dfsg-1
debian/qemu(Debian:13) < 1:7.0+dfsg-1 1:7.0+dfsg-1
debian/qemu(Debian:14) < 1:7.0+dfsg-1 1:7.0+dfsg-1

References