{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-0358","id":"CVE-2022-0358","title":"the QEMU virtio-fs shared file system daemon (virtiofsd) implementation: malicious unprivileged user inside the guest…","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 unp","descriptionLong":"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.","published":"2022-08-29T00:00:00.000Z","updated":"2026-10-28T10:23:20.969562451Z","reserved":"2022-01-25T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["QEMU/virtiofsd"],"affectedProducts":[{"vendor":"n/a","product":"QEMU/virtiofsd","defaultStatus":null,"versions":[{"version":"Fixed in qemu v6.2.0-7","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-273"],"aliases":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2044863","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory","report"]},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/449e8171f96a6a944d1f3b7d3627ae059eae21ca","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-0358","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20221007-0008/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0358.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0358","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00333,"epssPercentile":0.26954,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-0358","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0358","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-0358","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-0358","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}