CVE-2022-0358 Detail
Current 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.
Analysis 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.
Severity
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].
Weakness Enumeration
CWE-ID | CWE Name | Source |
---|---|---|
CWE-273 | Improper Check for Dropped Privileges | NIST Red Hat, Inc. |
Change History
1 change records found show changes
Initial Analysis 9/01/2022 4:08:03 PM
Action | Type | Old Value | New Value |
---|---|---|---|
Added | CPE Configuration |
OR *cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:* versions up to (excluding) 6.2.0-7 |
|
Added | CPE Configuration |
OR *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:advanced_virtualization:*:*:* |
|
Added | CVSS V3.1 |
NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
|
Added | CWE |
NIST CWE-273 |
|
Changed | Reference Type |
https://access.redhat.com/security/cve/CVE-2022-0358 No Types Assigned |
https://access.redhat.com/security/cve/CVE-2022-0358 Third Party Advisory |
Changed | Reference Type |
https://bugzilla.redhat.com/show_bug.cgi?id=2044863 No Types Assigned |
https://bugzilla.redhat.com/show_bug.cgi?id=2044863 Issue Tracking, Patch, Third Party Advisory |
Changed | Reference Type |
https://gitlab.com/qemu-project/qemu/-/commit/449e8171f96a6a944d1f3b7d3627ae059eae21ca No Types Assigned |
https://gitlab.com/qemu-project/qemu/-/commit/449e8171f96a6a944d1f3b7d3627ae059eae21ca Patch, Third Party Advisory |
Quick Info
CVE Dictionary Entry:
CVE-2022-0358
NVD Published Date:
08/29/2022
NVD Last Modified:
09/01/2022
Source:
Red Hat, Inc.