UBUNTU-CVE-2022-4172

Source
https://ubuntu.com/security/CVE-2022-4172
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4172.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-4172
Related
Published
2022-11-29T18:15:00Z
Modified
2024-11-20T12:23:00Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An integer overflow and buffer overflow issues were found in the ACPI Error Record Serialization Table (ERST) device of QEMU in the readerstrecord() and writeerstrecord() functions. Both issues may allow the guest to overrun the host buffer allocated for the ERST memory device. A malicious guest could use these flaws to crash the QEMU process on the host.

References

Affected packages

Ubuntu:20.04:LTS / qemu

Package

Name
qemu
Purl
pkg:deb/ubuntu/qemu?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.2-3ubuntu6.24

Affected versions

1:4.*

1:4.0+dfsg-0ubuntu9
1:4.0+dfsg-0ubuntu10
1:4.2-1ubuntu1
1:4.2-1ubuntu2
1:4.2-3ubuntu1
1:4.2-3ubuntu2
1:4.2-3ubuntu3
1:4.2-3ubuntu4
1:4.2-3ubuntu5
1:4.2-3ubuntu6
1:4.2-3ubuntu6.1
1:4.2-3ubuntu6.2
1:4.2-3ubuntu6.3
1:4.2-3ubuntu6.4
1:4.2-3ubuntu6.5
1:4.2-3ubuntu6.6
1:4.2-3ubuntu6.7
1:4.2-3ubuntu6.8
1:4.2-3ubuntu6.9
1:4.2-3ubuntu6.10
1:4.2-3ubuntu6.11
1:4.2-3ubuntu6.12
1:4.2-3ubuntu6.14
1:4.2-3ubuntu6.15
1:4.2-3ubuntu6.16
1:4.2-3ubuntu6.17
1:4.2-3ubuntu6.18
1:4.2-3ubuntu6.19
1:4.2-3ubuntu6.21
1:4.2-3ubuntu6.23

Ecosystem specific

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

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.6

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
1:6.2+dfsg-2ubuntu6.2
1:6.2+dfsg-2ubuntu6.3
1:6.2+dfsg-2ubuntu6.4
1:6.2+dfsg-2ubuntu6.5

Ecosystem specific

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