Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Qemu | Qemu | < 6.2.0-7 |
| Redhat | Enterprise Linux | 8.0 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/security/cve/CVE-2022-0358Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2044863Issue TrackingPatchThird Party Advisory
- https://gitlab.com/qemu-project/qemu/-/commit/449e8171f96a6a944d1f3b7d3627ae059ePatchThird Party Advisory
- https://security.netapp.com/advisory/ntap-20221007-0008/Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2022-0358Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2044863Issue TrackingPatchThird Party Advisory
- https://gitlab.com/qemu-project/qemu/-/commit/449e8171f96a6a944d1f3b7d3627ae059ePatchThird Party Advisory
- https://security.netapp.com/advisory/ntap-20221007-0008/Third Party Advisory
FAQ
What is CVE-2022-0358?
CVE-2022-0358 is a vulnerability with a CVSS score of 7.8 (HIGH). 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...
How severe is CVE-2022-0358?
CVE-2022-0358 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-0358?
Check the references section above for vendor advisories and patch information. Affected products include: Qemu Qemu, Redhat Enterprise Linux.