CVE-2022-0358: High severity qemu vulnerability

Published Jan 25, 2022
·
Updated

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.

Other sources

Virtiofs is still vulnerable to CVE-2018-13405 even with an upstream host and guest kernel which has fixed this CVE. A local user in the guest can still create files in the directories shared by virtiofs 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. Here, the non-member can trigger the creation of a plain file whose group ownership is that group. The non-member can escalate privileges by making the plain file executable and SGID.

Red Hat

Affected Software

4 affected componentsFixes available
redhat/qemu 6.2.0<7
7
Qemu Qemu<6.2.0-7
redhat Enterprise Linux=8.0
debian/qemu
1:5.2+dfsg-11+deb11u31:5.2+dfsg-11+deb11u21:7.2+dfsg-7+deb12u121:10.0.0~rc2+ds-21:10.0.0~rc3+ds-2

Event History

Aug 29, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:02 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:48 AM
RemedyDescriptionSeverityAffected Software
Mar 31, 2025
Data Sourced
via Debian·01:07 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2022-0358?

CVE-2022-0358 is a vulnerability in the QEMU virtio-fs shared file system daemon (virtiofsd) implementation.

2

What is the severity of CVE-2022-0358?

CVE-2022-0358 has a severity score of 7.8 (high).

3

How does CVE-2022-0358 affect QEMU?

CVE-2022-0358 affects the QEMU software, specifically the virtio-fs shared file system daemon (virtiofsd) implementation.

4

What is the remedy for CVE-2022-0358?

The remedy for CVE-2022-0358 depends on the specific affected software version and source, please refer to the provided references for more information.

5

Where can I find more information about CVE-2022-0358?

You can find more information about CVE-2022-0358 in the provided references.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203