Improper Check for Dropped Privileges Affecting qemu-kvm package, versions <5.2.0-150300.112.4
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-SLES153-QEMUKVM-2638792
- published 14 Apr 2022
- disclosed 22 Mar 2022
Introduced: 22 Mar 2022
CVE-2022-0358 Open this link in a new tabHow to fix?
Upgrade SLES:15.3 qemu-kvm to version 5.2.0-150300.112.4 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream qemu-kvm package and not the qemu-kvm package as distributed by SLES.
See How to fix? for SLES:15.3 relevant fixed versions and status.
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.
References
- https://www.suse.com/security/cve/CVE-2022-0358.html
- https://bugzilla.suse.com/1195161
- https://access.redhat.com/security/cve/CVE-2022-0358
- https://gitlab.com/qemu-project/qemu/-/commit/449e8171f96a6a944d1f3b7d3627ae059eae21ca
- https://bugzilla.redhat.com/show_bug.cgi?id=2044863
- https://security.netapp.com/advisory/ntap-20221007-0008/