CVE & CISA-KEV Catalog

CVE-2022-0358

HIGH
7.8
CVSS v3
NVD

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.

How to fix

Remediation Available
qemuDebian
Fixed in:1:5.2+dfsg-11+deb11u2CVE-2022-0358
Fixed in:1:7.0+dfsg-1CVE-2022-0358
Fixed in:1:7.0+dfsg-1CVE-2022-0358
Fixed in:1:7.0+dfsg-1CVE-2022-0358
qemuUbuntu
Fixed in:1:2.11+dfsg-1ubuntu7.39USN-5307-1
Fixed in:1:2.11+dfsg-1ubuntu7.40USN-5489-1
Fixed in:1:4.2-3ubuntu6.23USN-5489-1
Fixed in:1:4.2-3ubuntu6.21USN-5307-1
Fixed in:1:6.2+dfsg-2ubuntu6.2USN-5489-1
qemu-systemUbuntu
Fixed in:1:2.11+dfsg-1ubuntu7.39USN-5307-1
Fixed in:1:2.11+dfsg-1ubuntu7.40USN-5489-1
Fixed in:1:4.2-3ubuntu6.21USN-5307-1
Fixed in:1:4.2-3ubuntu6.23USN-5489-1
Fixed in:1:6.2+dfsg-2ubuntu6.2USN-5489-1
qemu-system-armUbuntu
Fixed in:1:2.11+dfsg-1ubuntu7.40USN-5489-1
Fixed in:1:2.11+dfsg-1ubuntu7.39USN-5307-1
Fixed in:1:4.2-3ubuntu6.21USN-5307-1
Fixed in:1:4.2-3ubuntu6.23USN-5489-1
Fixed in:1:6.2+dfsg-2ubuntu6.2USN-5489-1
qemu-system-mipsUbuntu
Fixed in:1:2.11+dfsg-1ubuntu7.40USN-5489-1
Fixed in:1:2.11+dfsg-1ubuntu7.39USN-5307-1
Fixed in:1:4.2-3ubuntu6.21USN-5307-1
Fixed in:1:4.2-3ubuntu6.23USN-5489-1
Fixed in:1:6.2+dfsg-2ubuntu6.2USN-5489-1
qemu-system-miscUbuntu
Fixed in:1:2.11+dfsg-1ubuntu7.40USN-5489-1
Fixed in:1:2.11+dfsg-1ubuntu7.39USN-5307-1
Fixed in:1:4.2-3ubuntu6.23USN-5489-1
Fixed in:1:4.2-3ubuntu6.21USN-5307-1
Fixed in:1:6.2+dfsg-2ubuntu6.2USN-5489-1
qemu-system-ppcUbuntu
Fixed in:1:2.11+dfsg-1ubuntu7.39USN-5307-1
Fixed in:1:2.11+dfsg-1ubuntu7.40USN-5489-1
Fixed in:1:4.2-3ubuntu6.23USN-5489-1
Fixed in:1:4.2-3ubuntu6.21USN-5307-1
Fixed in:1:6.2+dfsg-2ubuntu6.2USN-5489-1
qemu-system-s390xUbuntu
Fixed in:1:2.11+dfsg-1ubuntu7.40USN-5489-1
Fixed in:1:2.11+dfsg-1ubuntu7.39USN-5307-1
Fixed in:1:4.2-3ubuntu6.23USN-5489-1
Fixed in:1:4.2-3ubuntu6.21USN-5307-1
Fixed in:1:6.2+dfsg-2ubuntu6.2USN-5489-1
qemu-system-sparcUbuntu
Fixed in:1:2.11+dfsg-1ubuntu7.40USN-5489-1
Fixed in:1:2.11+dfsg-1ubuntu7.39USN-5307-1
Fixed in:1:4.2-3ubuntu6.23USN-5489-1
Fixed in:1:4.2-3ubuntu6.21USN-5307-1
Fixed in:1:6.2+dfsg-2ubuntu6.2USN-5489-1
qemu-system-x86Ubuntu
Fixed in:1:2.11+dfsg-1ubuntu7.39USN-5307-1
Fixed in:1:2.11+dfsg-1ubuntu7.40USN-5489-1
Fixed in:1:4.2-3ubuntu6.23USN-5489-1
Fixed in:1:4.2-3ubuntu6.21USN-5307-1
Fixed in:1:6.2+dfsg-2ubuntu6.2USN-5489-1
qemu-system-x86-microvmUbuntu
Fixed in:1:4.2-3ubuntu6.21USN-5307-1
Fixed in:1:4.2-3ubuntu6.23USN-5489-1
Fixed in:1:6.2+dfsg-2ubuntu6.2USN-5489-1
qemu-system-x86-xenUbuntu
Fixed in:1:4.2-3ubuntu6.21USN-5307-1
Fixed in:1:4.2-3ubuntu6.23USN-5489-1
Fixed in:1:6.2+dfsg-2ubuntu6.2USN-5489-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.33%probability of exploitation in 30 days
25thpercentile

Low risk: more likely to be exploited than 25% of all known CVEs.

References

Embed a live status badge for CVE-2022-0358
CVE-2022-0358 severity badge

Markdown

[![CVE-2022-0358](https://tridentstack.com/cve/badge/CVE-2022-0358.svg)](https://tridentstack.com/cve/CVE-2022-0358)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-0358"><img src="https://tridentstack.com/cve/badge/CVE-2022-0358.svg" alt="CVE-2022-0358"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.