UBUNTU-CVE-2022-0358

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2022-0358
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0358.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-0358
Related
Published
2022-01-28T00:00:00Z
Modified
2022-01-28T00:00:00Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Ubuntu:22.04:LTS / qemu

Package

Name
qemu
Purl
pkg:deb/ubuntu/qemu@1:6.2+dfsg-2ubuntu6.2?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:6.2+dfsg-2ubuntu6.2

Affected versions

1:6.*

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "qemu-system-misc": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-guest-agent-dbgsym": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-block-extra-dbgsym": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-utils-dbgsym": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-user": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-x86-microvm": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-arm-dbgsym": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-ppc-dbgsym": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-user-static": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-arm": "1:6.2+dfsg-2ubuntu6.2",
            "qemu": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-x86-xen": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-sparc": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-data": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-common-dbgsym": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-s390x-dbgsym": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-x86-dbgsym": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-guest-agent": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-utils": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-x86-xen-dbgsym": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-block-extra": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-sparc-dbgsym": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-misc-dbgsym": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-mips-dbgsym": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-x86": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-ppc": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-s390x": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-common": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-gui-dbgsym": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-user-static-dbgsym": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-mips": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-system-gui": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-user-binfmt": "1:6.2+dfsg-2ubuntu6.2",
            "qemu-user-dbgsym": "1:6.2+dfsg-2ubuntu6.2"
        }
    ]
}