CVE Vulnerabilities

CVE-2020-10725

Improper Initialization

Published: May 20, 2020 | Modified: Nov 07, 2023
CVSS 3.x
7.7
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.7 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Ubuntu
MEDIUM

A flaw was found in DPDK version 19.11 and above that allows a malicious guest to cause a segmentation fault of the vhost-user backend application running on the host, which could result in a loss of connectivity for the other guests running on that host. This is caused by a missing validity check of the descriptor address in the function virtio_dev_rx_batch_packed().

Weakness

The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used.

Affected Software

Name Vendor Start Version End Version
Data_plane_development_kit Dpdk * 19.11 (including)
Fast Datapath for Red Hat Enterprise Linux 8 RedHat openvswitch2.13-0:2.13.0-25.el8fdp.1 *
Red Hat Enterprise Linux 8 RedHat dpdk-0:19.11.3-1.el8 *
Red Hat Enterprise Linux 8.2 Extended Update Support RedHat dpdk-0:19.11-5.el8_2 *
Dpdk Ubuntu devel *
Dpdk Ubuntu focal *
Dpdk Ubuntu trusty *
Dpdk Ubuntu upstream *

Potential Mitigations

  • Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, in Java, if the programmer does not explicitly initialize a variable, then the code could produce a compile-time error (if the variable is local) or automatically initialize the variable to the default value for the variable’s type. In Perl, if explicit initialization is not performed, then a default value of undef is assigned, which is interpreted as 0, false, or an equivalent value depending on the context in which the variable is accessed.

References