p PatchFirst

CVE-2022-0358

CVE-2022-0358

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.8 · High · EPSS 0.3% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • qemu/virtiofsd

    Versions
    • Fixed in qemu v6.2.0-7: Affected

    No fix published

  • qemu Debian:12

    Affected ranges
    • ECOSYSTEM: < 1:7.0+dfsg-1

    Update to 1:7.0+dfsg-1

  • qemu Debian:13

    Affected ranges
    • ECOSYSTEM: < 1:7.0+dfsg-1

    Update to 1:7.0+dfsg-1

  • qemu Debian:14

    Affected ranges
    • ECOSYSTEM: < 1:7.0+dfsg-1

    Update to 1:7.0+dfsg-1

  • qemu Ubuntu:22.04:LTS

    Versions
    • 1:6.0+dfsg-2expubuntu1
    • 1:6.0+dfsg-2expubuntu2
    • 1:6.0+dfsg-2expubuntu4
    • 1:6.2+dfsg-2ubuntu5
    • 1:6.2+dfsg-2ubuntu6
    • 1:6.2+dfsg-2ubuntu6.1
    Affected ranges
    • ECOSYSTEM: < 1:6.2+dfsg-2ubuntu6.2

    Update to 1:6.2+dfsg-2ubuntu6.2

Original sources

Check your server →