CVE-2022-0358

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductQemu
PublishedAug 29, 2022
First seenAug 29, 2022
Weakness typeCWE-273CWE-273

How to fix

Update
  • qemu qemu6.2.0-7 or later

Affected products

ProductAffected versionsFixed in
qemu qemuv < 6.2.0-76.2.0-7
redhat enterprise_linux8.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-0358 · Qemu · Dark Radar