UBUNTU-CVE-2022-0358

Source
https://ubuntu.com/security/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?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": [
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-block-extra"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-block-extra-dbgsym"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-guest-agent"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-guest-agent-dbgsym"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-arm"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-arm-dbgsym"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-common"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-common-dbgsym"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-data"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-gui"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-gui-dbgsym"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-mips"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-mips-dbgsym"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-misc"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-misc-dbgsym"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-ppc"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-ppc-dbgsym"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-s390x"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-s390x-dbgsym"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-sparc"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-sparc-dbgsym"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-x86"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-x86-dbgsym"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-x86-microvm"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-x86-xen"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-system-x86-xen-dbgsym"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-user"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-user-binfmt"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-user-dbgsym"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-user-static"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-user-static-dbgsym"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-utils"
        },
        {
            "binary_version": "1:6.2+dfsg-2ubuntu6.2",
            "binary_name": "qemu-utils-dbgsym"
        }
    ]
}