{"id":"CVE-2022-0358","state":"PUBLISHED","title":"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","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.","publishedAt":"2022-08-29T00:00:00.000Z","updatedAt":"2024-08-02T23:25:40.534Z","severity":null,"assigner":"redhat","products":["n/a QEMU/virtiofsd"],"affected":[{"vendor":"n/a","product":"QEMU/virtiofsd","versions":[{"version":"Fixed in qemu v6.2.0-7","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2044863","https://gitlab.com/qemu-project/qemu/-/commit/449e8171f96a6a944d1f3b7d3627ae059eae21ca","https://access.redhat.com/security/cve/CVE-2022-0358","https://security.netapp.com/advisory/ntap-20221007-0008/"],"weaknesses":["CWE-273"],"ingestedAt":"2026-10-29T19:49:26.075Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/0xxx/CVE-2022-0358.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-0358","state":"PUBLISHED","datePublished":"2022-08-29T00:00:00.000Z","dateUpdated":"2024-08-02T23:25:40.534Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2022-01-25T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"QEMU/virtiofsd","versions":[{"version":"Fixed in qemu v6.2.0-7","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2044863"},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/449e8171f96a6a944d1f3b7d3627ae059eae21ca"},{"url":"https://access.redhat.com/security/cve/CVE-2022-0358"},{"url":"https://security.netapp.com/advisory/ntap-20221007-0008/"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-273","type":"CWE","lang":"en","description":"CWE-273 - Improper Check for Dropped Privileges."}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2022-10-07T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2044863","tags":["x_transferred"]},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/449e8171f96a6a944d1f3b7d3627ae059eae21ca","tags":["x_transferred"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-0358","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20221007-0008/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T23:25:40.534Z"}}]}}}