UBUNTU-CVE-2021-3416

Source
https://ubuntu.com/security/CVE-2021-3416
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3416.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-3416
Related
Published
2021-03-18T20:15:00Z
Modified
2024-10-15T14:08:12Z
Severity
  • 6.0 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A potential stack overflow via infinite loop issue was found in various NIC emulators of QEMU in versions up to and including 5.2.0. The issue occurs in loopback mode of a NIC wherein reentrant DMA checks get bypassed. A guest user/process may use this flaw to consume CPU cycles or crash the QEMU process on the host resulting in DoS scenario.

References

Affected packages

Ubuntu:Pro:14.04:LTS / qemu

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.5.0+dfsg-3ubuntu5
1.5.0+dfsg-3ubuntu6
1.6.0+dfsg-2ubuntu1
1.6.0+dfsg-2ubuntu2
1.6.0+dfsg-2ubuntu3
1.6.0+dfsg-2ubuntu4
1.7.0+dfsg-2ubuntu1
1.7.0+dfsg-2ubuntu2
1.7.0+dfsg-2ubuntu3
1.7.0+dfsg-2ubuntu4
1.7.0+dfsg-2ubuntu5
1.7.0+dfsg-2ubuntu7
1.7.0+dfsg-2ubuntu8
1.7.0+dfsg-2ubuntu9
1.7.0+dfsg-3ubuntu1~ppa1
1.7.0+dfsg-3ubuntu1
1.7.0+dfsg-3ubuntu2
1.7.0+dfsg-3ubuntu3
1.7.0+dfsg-3ubuntu4
1.7.0+dfsg-3ubuntu5
1.7.0+dfsg-3ubuntu6
1.7.0+dfsg-3ubuntu7

2.*

2.0.0~rc1+dfsg-0ubuntu1
2.0.0~rc1+dfsg-0ubuntu2
2.0.0~rc1+dfsg-0ubuntu3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ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:Pro:16.04:LTS / qemu

Package

Name
qemu
Purl
pkg:deb/ubuntu/qemu?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:2.*

1:2.3+dfsg-5ubuntu9
1:2.3+dfsg-5ubuntu10
1:2.4+dfsg-4ubuntu1
1:2.4+dfsg-4ubuntu2
1:2.4+dfsg-4ubuntu3
1:2.4+dfsg-5ubuntu3
1:2.5+dfsg-1ubuntu2
1:2.5+dfsg-1ubuntu3
1:2.5+dfsg-1ubuntu4
1:2.5+dfsg-1ubuntu5
1:2.5+dfsg-5ubuntu1
1:2.5+dfsg-5ubuntu2
1:2.5+dfsg-5ubuntu4
1:2.5+dfsg-5ubuntu6
1:2.5+dfsg-5ubuntu7
1:2.5+dfsg-5ubuntu10
1:2.5+dfsg-5ubuntu10.1
1:2.5+dfsg-5ubuntu10.2
1:2.5+dfsg-5ubuntu10.3
1:2.5+dfsg-5ubuntu10.4
1:2.5+dfsg-5ubuntu10.5
1:2.5+dfsg-5ubuntu10.6
1:2.5+dfsg-5ubuntu10.7
1:2.5+dfsg-5ubuntu10.8
1:2.5+dfsg-5ubuntu10.9
1:2.5+dfsg-5ubuntu10.10
1:2.5+dfsg-5ubuntu10.11
1:2.5+dfsg-5ubuntu10.13
1:2.5+dfsg-5ubuntu10.14
1:2.5+dfsg-5ubuntu10.15
1:2.5+dfsg-5ubuntu10.16
1:2.5+dfsg-5ubuntu10.20
1:2.5+dfsg-5ubuntu10.21
1:2.5+dfsg-5ubuntu10.22
1:2.5+dfsg-5ubuntu10.24
1:2.5+dfsg-5ubuntu10.25
1:2.5+dfsg-5ubuntu10.26
1:2.5+dfsg-5ubuntu10.28
1:2.5+dfsg-5ubuntu10.29
1:2.5+dfsg-5ubuntu10.30
1:2.5+dfsg-5ubuntu10.31
1:2.5+dfsg-5ubuntu10.32
1:2.5+dfsg-5ubuntu10.33
1:2.5+dfsg-5ubuntu10.34
1:2.5+dfsg-5ubuntu10.35
1:2.5+dfsg-5ubuntu10.36
1:2.5+dfsg-5ubuntu10.37
1:2.5+dfsg-5ubuntu10.38
1:2.5+dfsg-5ubuntu10.39
1:2.5+dfsg-5ubuntu10.40
1:2.5+dfsg-5ubuntu10.41
1:2.5+dfsg-5ubuntu10.42
1:2.5+dfsg-5ubuntu10.43
1:2.5+dfsg-5ubuntu10.44
1:2.5+dfsg-5ubuntu10.45
1:2.5+dfsg-5ubuntu10.46
1:2.5+dfsg-5ubuntu10.47
1:2.5+dfsg-5ubuntu10.48
1:2.5+dfsg-5ubuntu10.49
1:2.5+dfsg-5ubuntu10.51
1:2.5+dfsg-5ubuntu10.51+esm1
1:2.5+dfsg-5ubuntu10.51+esm2

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:18.04:LTS / qemu

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.11+dfsg-1ubuntu7.37

Affected versions

1:2.*

1:2.10+dfsg-0ubuntu3
1:2.10+dfsg-0ubuntu4
1:2.10+dfsg-0ubuntu5
1:2.11+dfsg-1ubuntu1
1:2.11+dfsg-1ubuntu2
1:2.11+dfsg-1ubuntu4
1:2.11+dfsg-1ubuntu5
1:2.11+dfsg-1ubuntu6
1:2.11+dfsg-1ubuntu7
1:2.11+dfsg-1ubuntu7.1
1:2.11+dfsg-1ubuntu7.2
1:2.11+dfsg-1ubuntu7.3
1:2.11+dfsg-1ubuntu7.4
1:2.11+dfsg-1ubuntu7.5
1:2.11+dfsg-1ubuntu7.6
1:2.11+dfsg-1ubuntu7.7
1:2.11+dfsg-1ubuntu7.8
1:2.11+dfsg-1ubuntu7.9
1:2.11+dfsg-1ubuntu7.10
1:2.11+dfsg-1ubuntu7.12
1:2.11+dfsg-1ubuntu7.13
1:2.11+dfsg-1ubuntu7.14
1:2.11+dfsg-1ubuntu7.15
1:2.11+dfsg-1ubuntu7.17
1:2.11+dfsg-1ubuntu7.18
1:2.11+dfsg-1ubuntu7.19
1:2.11+dfsg-1ubuntu7.20
1:2.11+dfsg-1ubuntu7.21
1:2.11+dfsg-1ubuntu7.22
1:2.11+dfsg-1ubuntu7.23
1:2.11+dfsg-1ubuntu7.25
1:2.11+dfsg-1ubuntu7.26
1:2.11+dfsg-1ubuntu7.27
1:2.11+dfsg-1ubuntu7.28
1:2.11+dfsg-1ubuntu7.29
1:2.11+dfsg-1ubuntu7.31
1:2.11+dfsg-1ubuntu7.32
1:2.11+dfsg-1ubuntu7.33
1:2.11+dfsg-1ubuntu7.34
1:2.11+dfsg-1ubuntu7.35
1:2.11+dfsg-1ubuntu7.36

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-block-extra"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-block-extra-dbgsym"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-guest-agent"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-guest-agent-dbgsym"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-kvm"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-arm"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-arm-dbgsym"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-common"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-common-dbgsym"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-mips"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-mips-dbgsym"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-misc"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-misc-dbgsym"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-ppc"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-ppc-dbgsym"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-s390x"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-s390x-dbgsym"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-sparc"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-sparc-dbgsym"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-x86"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-system-x86-dbgsym"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-user"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-user-binfmt"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-user-dbgsym"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-user-static"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-user-static-dbgsym"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-utils"
        },
        {
            "binary_version": "1:2.11+dfsg-1ubuntu7.37",
            "binary_name": "qemu-utils-dbgsym"
        }
    ]
}

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

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

Ecosystem specific

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