cve.bz

CVE-2020-14364 Out-of-bounds Read

5.0 mediumEPSS 5.4%Fix available

Medium (5.0). EPSS 5.4% estimated probability of exploitation activity in the next 30 days.

On this page
An out-of-bounds read/write access flaw was found in the USB emulator of the QEMU in versions before 5.2.0. This issue occurs while processing USB packets from a guest when USBDevice 'setup_len' exceeds its 'data_buf[4096]' in the do_token_in, do_token_out routines. This flaw allows a guest user to crash the QEMU process, resulting in a denial of service, or the potential execution of arbitrary code with the privileges of the QEMU process on the host.

Severity

CVSS 3.1

5.0 medium
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L
EPSS
5.4% (unchanged from 5.4% a week ago; 5.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-125 Out-of-bounds Read
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-14364 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-14364?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-14364?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-14364 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
qemu:qemubefore 5.2.0
redhat:openstack10
redhat:openstack13
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0
fedoraproject:fedora31
fedoraproject:fedora32
debian:debian_linux9.0
debian:debian_linux10.0
opensuse:leap15.2
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux20.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9qemu1:2.8+dfsg-6+deb9u11DLA-2373-1
Debian10qemu1:3.1+dfsg-8+deb10u8DSA-4760-1
Debian12, 13, 14qemu1:5.1+dfsg-4DEBIAN-CVE-2020-14364
Ubuntu16.04:LTSqemu1:2.5+dfsg-5ubuntu10.46UBUNTU-CVE-2020-14364 USN-4511-1
Ubuntu18.04:LTSqemu1:2.11+dfsg-1ubuntu7.32UBUNTU-CVE-2020-14364 USN-4511-1
Ubuntu20.04:LTSqemu1:4.2-3ubuntu6.6UBUNTU-CVE-2020-14364 USN-4511-1
UbuntuPro:14.04:LTSqemu2.0.0+dfsg-2ubuntu1.47+esm1UBUNTU-CVE-2020-14364 USN-4467-2
Red Hatadvanced_virtualization:8.1::el8SLOF0:20190703-1.gitba1ab360.module+el8.1.1+5309+6d656f05RHSA-2020:4290
Red Hatadvanced_virtualization:8.1::el8hivex, perl-hivex, ruby-hivex and 10 more0:1.3.15-7.module+el8.1.1+5309+6d656f05RHSA-2020:4290
Red Hatadvanced_virtualization:8.1::el8libguestfs-winsupport0:8.0-4.module+el8.1.1+5309+6d656f05RHSA-2020:4290
Red Hatadvanced_virtualization:8.1::el8libiscsi, libiscsi-devel, libiscsi-utils and 3 more0:1.18.0-8.module+el8.1.1+5309+6d656f05RHSA-2020:4290
Red Hatadvanced_virtualization:8.1::el8libnbd, libnbd-devel, ocaml-libnbd and 6 more0:1.0.3-1.module+el8.1.1+5659+15cacc69RHSA-2020:4290
Red Hatadvanced_virtualization:8.1::el8libtpms, libtpms-devel, libtpms-debuginfo and 1 more0:0.7.0-1.20191018gitdc116933b7.module+el8.1.1+5309+6d656f05RHSA-2020:4290
Red Hatadvanced_virtualization:8.1::el8libvirt, libvirt-nss, libvirt-docs and 49 more0:5.6.0-10.module+el8.1.1+5309+6d656f05RHSA-2020:4290
Red Hatadvanced_virtualization:8.1::el8libvirt-dbus, libvirt-dbus-debuginfo, libvirt-dbus-debugsource0:1.3.0-2.module+el8.1.1+5309+6d656f05RHSA-2020:4290
Red Hatadvanced_virtualization:8.1::el8libvirt-python, python3-libvirt, python3-libvirt-debuginfo and 1 more0:5.6.0-3.module+el8.1.1+5309+6d656f05RHSA-2020:4290
Red Hatadvanced_virtualization:8.1::el8nbdkit, nbdkit-devel, nbdkit-server and 24 more0:1.12.5-2.module+el8.1.1+5309+6d656f05RHSA-2020:4290
Red Hatadvanced_virtualization:8.1::el8netcf, netcf-libs, netcf-devel and 3 more0:0.2.8-12.module+el8.1.1+5309+6d656f05RHSA-2020:4290
Red Hatadvanced_virtualization:8.1::el8perl-Sys-Virt, perl-Sys-Virt-debuginfo, perl-Sys-Virt-debugsource0:5.6.0-2.module+el8.1.1+5309+6d656f05RHSA-2020:4290
105 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL and 4 morexen4.9.4_12-3.74.1SUSE-SU-2020:2787-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 moreqemu3.1.1.1-9.27.2SUSE-SU-2021:1918-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 6 moreqemu3.1.1.1-9.24.3SUSE-SU-2021:1245-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 moreqemu2.9.1-6.47.1SUSE-SU-2021:1240-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 moreqemu2.9.1-6.50.1SUSE-SU-2021:1894-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moreqemu2.11.2-9.43.1SUSE-SU-2021:1244-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moreqemu2.11.2-9.46.1SUSE-SU-2021:1895-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Server Applications 15 SP2qemu4.2.1-11.19.2SUSE-SU-2021:1893-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Server Applications 15 SP2qemu4.2.1-11.10.1SUSE-SU-2020:2877-1
SUSELinux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Server Applications 15 SP3qemu5.2.0-17.1SUSE-SU-2021:1942-1
SUSELinux Enterprise Point of Sale 11 SP3kvm1.4.2-53.38.1SUSE-SU-2021:14706-1
SUSELinux Enterprise Server 11 SP4-LTSSkvm1.4.2-60.34.1SUSE-SU-2021:14704-1
10 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.2qemu4.2.1-lp152.9.16.2openSUSE-SU-2021:1043-1
openSUSELeap 15.2qemu, qemu-testsuite, qemu-linux-user4.2.1-lp152.9.6.1openSUSE-SU-2020:1664-1
openSUSELeap 15.2qemu-linux-user4.2.1-lp152.9.16.1openSUSE-SU-2021:1043-1
openSUSELeap 15.2qemu-testsuite4.2.1-lp152.9.16.7openSUSE-SU-2021:1043-1
openSUSELeap 15.3qemu5.2.0-17.1openSUSE-SU-2021:1942-1
openSUSETumbleweedqemu6.1.0-32.1openSUSE-SU-2024:11287-1
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.3.0+2048+e7a0a3eaALSA-2020:4059
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.5.0+2608+72063365ALSA-2020:4059
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.6.0+2880+7d9e3703ALSA-2020:4059
AlmaLinux8netcf, netcf-libs, netcf-devel0.2.8-12.module_el8.3.0+2048+e7a0a3eaALSA-2020:4059
AlmaLinux8netcf, netcf-libs, netcf-devel0.2.8-12.module_el8.5.0+2608+72063365ALSA-2020:4059
AlmaLinux8netcf, netcf-libs, netcf-devel0.2.8-12.module_el8.6.0+2880+7d9e3703ALSA-2020:4059
AlmaLinux8sgabios1:0.20170427git-3.module_el8.3.0+2048+e7a0a3eaALSA-2020:4059
AlmaLinux8sgabios, sgabios-bin1:0.20170427git-3.module_el8.5.0+2608+72063365ALSA-2020:4059
AlmaLinux8sgabios-bin1:0.20170427git-3.module_el8.6.0+2880+7d9e3703ALSA-2020:4059
Rocky Linux8libiscsi0:1.18.0-8.module+el8.4.0+534+4680a14eRLSA-2020:4059
Rocky Linux8libiscsi0:1.18.0-8.module+el8.6.0+847+b490afddRLSA-2020:4059
Rocky Linux8libiscsi0:1.18.0-8.module+el8.7.0+1084+97b81f61RLSA-2020:4059
Rocky Linux8netcf0:0.2.8-12.module+el8.4.0+534+4680a14eRLSA-2020:4059
Rocky Linux8netcf0:0.2.8-12.module+el8.6.0+847+b490afddRLSA-2020:4059
Rocky Linux8netcf0:0.2.8-12.module+el8.7.0+1084+97b81f61RLSA-2020:4059
Rocky Linux8sgabios1:0.20170427git-3.module+el8.4.0+534+4680a14eRLSA-2020:4059
Rocky Linux8sgabios1:0.20170427git-3.module+el8.6.0+847+b490afddRLSA-2020:4059
Rocky Linux8sgabios1:0.20170427git-3.module+el8.7.0+1084+97b81f61RLSA-2020:4059
Alpinev3.9xen4.11.4-r1ALPINE-CVE-2020-14364
Alpinev3.10xen4.12.3-r3ALPINE-CVE-2020-14364
Alpinev3.11, v3.12xen4.13.1-r3ALPINE-CVE-2020-14364
Alpinev3.12qemu5.0.0-r2ALPINE-CVE-2020-14364
Alpinev3.13, v3.14, v3.15 and 9 moreqemu5.1.0-r1ALPINE-CVE-2020-14364
Alpinev3.13, v3.14, v3.15 and 9 morexen4.13.1-r5ALPINE-CVE-2020-14364

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue affects the version of the qemu-kvm package as shipped with the Red Hat Enterprise Linux 6, 7 and 8. Future qemu-kvm package updates for Red Hat Enterprise Linux 6, 7 and 8 may

address this issue.

Red Hat Enterprise Linux 5 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in its future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Red Hat OpenStack Platform 15 and newer consume fixes directly from the Red Hat Enterprise Linux 8 Advanced Virtualization repository.

Red Hat's mitigation

Using Libvirt management interface to manage guest VMs significantly reduces impact of this issue. Libvirt starts each guest process with an unprivileged system user(ex. qemu) privileges and further confines the process with strict sVirt and SELinux policies.

* https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_security_guide/

ProductPackageStateAdvisory
Advanced Virtualization for RHEL 8.1.1virt:8.1-8010120200911011910.5db1954dFixed 2020-10-20RHSA-2020:4290
Advanced Virtualization for RHEL 8.1.1virt-devel:8.1-8010120200911011910.5db1954dFixed 2020-10-20RHSA-2020:4290
Advanced Virtualization for RHEL 8.2.1virt:8.2-8020120200909235106.863bb0dbFixed 2020-10-20RHSA-2020:4291
Advanced Virtualization for RHEL 8.2.1virt-devel:8.2-8020120200909235106.863bb0dbFixed 2020-10-20RHSA-2020:4291
Red Hat Enterprise Linux 6qemu-kvm-2:0.12.1.2-2.506.el6_10.8Fixed 2020-10-07RHSA-2020:4056
Red Hat Enterprise Linux 6.5 Advanced Update Supportqemu-kvm-2:0.12.1.2-2.415.el6_5.21Fixed 2020-09-29RHSA-2020:4054
Red Hat Enterprise Linux 6.6 Advanced Update Supportqemu-kvm-2:0.12.1.2-2.448.el6_6.9Fixed 2020-09-29RHSA-2020:4055
Red Hat Enterprise Linux 7qemu-kvm-ma-10:2.12.0-48.el7_9.1Fixed 2020-09-29RHSA-2020:4078
Red Hat Enterprise Linux 7qemu-kvm-10:1.5.3-175.el7_9.1Fixed 2020-09-30RHSA-2020:4079
Red Hat Enterprise Linux 7.2 Advanced Update Supportqemu-kvm-10:1.5.3-105.el7_2.20Fixed 2020-09-29RHSA-2020:4048
Red Hat Enterprise Linux 7.3 Advanced Update Supportqemu-kvm-10:1.5.3-126.el7_3.18Fixed 2020-09-29RHSA-2020:4050
Red Hat Enterprise Linux 7.3 Telco Extended Update Supportqemu-kvm-10:1.5.3-126.el7_3.18Fixed 2020-09-29RHSA-2020:4050
Red Hat Enterprise Linux 7.3 Update Services for SAP Solutionsqemu-kvm-10:1.5.3-126.el7_3.18Fixed 2020-09-29RHSA-2020:4050
Red Hat Enterprise Linux 7.4 Advanced Update Supportqemu-kvm-10:1.5.3-141.el7_4.11Fixed 2020-09-29RHSA-2020:4051
Red Hat Enterprise Linux 7.4 Telco Extended Update Supportqemu-kvm-10:1.5.3-141.el7_4.11Fixed 2020-09-29RHSA-2020:4051
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutionsqemu-kvm-10:1.5.3-141.el7_4.11Fixed 2020-09-29RHSA-2020:4051
Red Hat Enterprise Linux 5kvmOut of support scope
Red Hat Enterprise Linux 5xenOut of support scope
Red Hat Enterprise Linux 8 Advanced Virtualizationqemu-kvmAffected
Red Hat Enterprise Linux 9qemu-kvmNot affected
16 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-14364.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON