CVE-2022-0358

QEMU: virtiofsd: potential privilege escalation via CVE-2018-13405

Published Aug 29, 2022 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5133-1 qemu security update
EUVD EUVD EUVD-2022-15514 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.
Ubuntu USN Ubuntu USN USN-5307-1 QEMU vulnerabilities
Ubuntu USN Ubuntu USN USN-5489-1 QEMU vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 2, 2024, 11:25 PM
Reserved
Jan 25, 2022, 12:00 AM
Status
Modified
Published
Aug 29, 2022, 3:15 PM
Modified
Jun 17, 2026, 4:20 AM
Severity
Moderate
Public date
Jan 25, 2022, 12:00 AM