CVE-2022-0358

HIGH

QEMU virtio-fs < 6.2.0-7 - Privilege Escalation via SGID Directory Group Ownership

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0004
EPSS Percentile 11.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-273
Status published
Products (2)
qemu/qemu < 6.2.0-7
redhat/enterprise_linux 8.0
Published Aug 29, 2022
Tracked Since Feb 18, 2026