Privilege Escalation Vulnerability in QEMU Virtio-FS Daemon
CVE-2022-0358
Key facts: CVE-2022-0358 is a high severity (CVSS 7.8) vulnerability in QEMU/virtiofsd. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.3%, the estimated probability of exploitation in the next 30 days.
What is CVE-2022-0358?
A vulnerability exists in the QEMU virtio-fs shared file system daemon where a local guest user can create files in shared directories with unintended group ownership. This occurs when a directory is set with SGID for a specific group and is writable by users outside of that group. Exploiting this flaw can enable an unprivileged user within the guest system to access resources intended for the root group, leading to potential privilege escalation. Additionally, a malicious local user could misuse the executable file created within the guest to escalate privileges on the host system.
Affected Version(s)
QEMU/virtiofsd Fixed in qemu v6.2.0-7
