CVE-2022-0358 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...
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
6 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/qemu(Debian 12) | < 1:7.0+dfsg-1 | 1:7.0+dfsg-1 | Fixed |
| debian/qemu(Debian 13) | < 1:7.0+dfsg-1 | 1:7.0+dfsg-1 | Fixed |
| debian/qemu(Debian 14) | < 1:7.0+dfsg-1 | 1:7.0+dfsg-1 | Fixed |
| qemu | < 6.2.0-7 | 6.2.0-7 | Fixed |
| ubuntu/qemu(Ubuntu 22.04) | < 1:6.2+dfsg-2ubuntu6.2; = 1:6.0+dfsg-2expubuntu1; = 1:6.0+dfsg-2expubuntu2; = 1:6.0+dfsg-2expubuntu4 +3 more | 1:6.2+dfsg-2ubuntu6.2 | Fixed |
| redhat enterprise linux | = 8.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/qemu(Ubuntu:22.04) | < 1:6.2+dfsg-2ubuntu6.2 | 1:6.2+dfsg-2ubuntu6.2 |
| qemu | < 6.2.0-7 | 6.2.0-7 |
| redhat enterprise linux | = 8.0 | No fix listed |
| ubuntu/qemu(Ubuntu:22.04) | = 1:6.0+dfsg-2expubuntu1 | No fix listed |
| ubuntu/qemu(Ubuntu:22.04) | = 1:6.0+dfsg-2expubuntu2 | No fix listed |
| ubuntu/qemu(Ubuntu:22.04) | = 1:6.0+dfsg-2expubuntu4 | No fix listed |
| ubuntu/qemu(Ubuntu:22.04) | = 1:6.2+dfsg-2ubuntu5 | No fix listed |
| ubuntu/qemu(Ubuntu:22.04) | = 1:6.2+dfsg-2ubuntu6 | No fix listed |
| ubuntu/qemu(Ubuntu:22.04) | = 1:6.2+dfsg-2ubuntu6.1 | No fix listed |
| debian/qemu(Debian:12) | < 1:7.0+dfsg-1 | 1:7.0+dfsg-1 |
| debian/qemu(Debian:13) | < 1:7.0+dfsg-1 | 1:7.0+dfsg-1 |
| debian/qemu(Debian:14) | < 1:7.0+dfsg-1 | 1:7.0+dfsg-1 |
References
- Debian Security Tracker CVE-2022-0358 vendor-advisory
- bugzilla.redhat.com issue-tracking patch third-party-advisory
- gitlab.com patch third-party-advisory
- access.redhat.com third-party-advisory
- security.netapp.com third-party-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5307-1 vendor-advisory
- USN-5489-1 vendor-advisory
- www.cve.org issue-tracking