MidnightBSD

Advisories for dpdk

CVE-2015-1142857 MEDIUM

On multiple SR-IOV cars it is possible for VF's assigned to guests to send ethernet flow control pause frames via the PF. This includes Linux kernel ixgbe driver before commit f079fa005aae08ee0e1bc32699874ff4f02e11c1, the Linux Kernel i40e/i40evf driver before e7358f54a3954df16d4f87e3cad35063f1c17de5 and the DPDK before commit 3f12b9f23b6499ff66ec8b0de941fb469297e5d0, additionally Multiple vendor NIC firmware is affected.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-254,

Products Affected

Vendor Product Version
intel 82599_firmware -
intel x540_firmware -
intel i350_firmware -
linux linux_kernel_ixgbe -
intel x710_firmware -
intel 82576_firmware -
dpdk dpdk -
linux linux_kernel_i40e/i40evf -
CVE-2018-1059 LOW

The DPDK vhost-user interface does not check to verify that all the requested guest physical range is mapped and contiguous when performing Guest Physical Addresses to Host Virtual Addresses translations. This may lead to a malicious guest exposing vhost-user backend process memory. All versions before 18.02.1 are vulnerable.

CVSS 2.0

Severity: LOW

Problem Type: CWE-200,CWE-200,

Products Affected

Vendor Product Version
redhat openstack 9
redhat virtualization_manager 4.1
dpdk data_plane_development_kit *
redhat enterprise_linux_fast_datapath 7.0
canonical ubuntu_linux 18.04
redhat openstack 8
redhat enterprise_linux 7.0
redhat virtualization 4.0
canonical ubuntu_linux 17.10
redhat openshift 3.0
redhat openstack 10
redhat virtualization 4.1
redhat openstack 12
redhat openstack 11
redhat ceph_storage 3.0
CVE-2019-14818 MEDIUM

A flaw was found in all dpdk version 17.x.x before 17.11.8, 16.x.x before 16.11.10, 18.x.x before 18.11.4 and 19.x.x before 19.08.1 where a malicious master, or a container with access to vhost_user socket, can send specially crafted VRING_SET_NUM messages, resulting in a memory leak including file descriptors. This flaw could lead to a denial of service condition.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 3.9 3.6

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-401,CWE-401,

Products Affected

Vendor Product Version
redhat openstack 10
redhat enterprise_linux_fast_datapath 8.0
redhat virtualization_eus 4.2
dpdk data_plane_development_kit *
redhat enterprise_linux_fast_datapath 7.0
fedoraproject fedora 31
CVE-2020-10722 MEDIUM

A vulnerability was found in DPDK versions 18.05 and above. A missing check for an integer overflow in vhost_user_set_log_base() could result in a smaller memory map than requested, possibly allowing memory corruption.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
secalert@redhat.com 5.1 MEDIUM CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H 0.8 4.2
nvd@nist.gov 6.7 MEDIUM CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 0.8 5.9

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-190,CWE-190,

Products Affected

Vendor Product Version
fedoraproject fedora 32
canonical ubuntu_linux 19.10
dpdk data_plane_development_kit *
canonical ubuntu_linux 18.04
oracle communications_session_border_controller *
canonical ubuntu_linux 20.04
oracle enterprise_communications_broker 3.1.0
oracle enterprise_communications_broker 3.2.0
opensuse leap 15.1
CVE-2020-10723 MEDIUM

A memory corruption issue was found in DPDK versions 17.05 and above. This flaw is caused by an integer truncation on the index of a payload. Under certain circumstances, the index (a UInt) is copied and truncated into a uint16, which can lead to out of bound indexing and possible memory corruption.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
secalert@redhat.com 5.1 MEDIUM CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H 0.8 4.2
nvd@nist.gov 6.7 MEDIUM CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 0.8 5.9

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-190,CWE-190,

Products Affected

Vendor Product Version
fedoraproject fedora 32
canonical ubuntu_linux 19.10
dpdk data_plane_development_kit *
canonical ubuntu_linux 18.04
oracle communications_session_border_controller *
canonical ubuntu_linux 20.04
oracle enterprise_communications_broker 3.1.0
oracle enterprise_communications_broker 3.2.0
opensuse leap 15.1
CVE-2020-10724 LOW

A vulnerability was found in DPDK versions 18.11 and above. The vhost-crypto library code is missing validations for user-supplied values, potentially allowing an information leak through an out-of-bounds memory read.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
secalert@redhat.com 5.1 MEDIUM CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H 0.8 4.2
nvd@nist.gov 4.4 MEDIUM CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N 0.8 3.6

CVSS 2.0

Severity: LOW

Problem Type: CWE-190,CWE-125,

Products Affected

Vendor Product Version
fedoraproject fedora 32
canonical ubuntu_linux 19.10
dpdk data_plane_development_kit *
canonical ubuntu_linux 18.04
canonical ubuntu_linux 20.04
CVE-2020-10725 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()`.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.7 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H 3.1 4.0
secalert@redhat.com 7.7 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H 3.1 4.0

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-665,CWE-665,

Products Affected

Vendor Product Version
fedoraproject fedora 32
dpdk data_plane_development_kit *
oracle enterprise_communications_broker 3.1.0
oracle enterprise_communications_broker 3.2.0
opensuse leap 15.1
CVE-2020-10726 LOW

A vulnerability was found in DPDK versions 19.11 and above. A malicious container that has direct access to the vhost-user socket can keep sending VHOST_USER_GET_INFLIGHT_FD messages, causing a resource leak (file descriptors and virtual memory), which may result in a denial of service.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 4.4 MEDIUM CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H 0.8 3.6
secalert@redhat.com 6.0 MEDIUM CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H 1.5 4.0

CVSS 2.0

Severity: LOW

Problem Type: CWE-190,CWE-190,

Products Affected

Vendor Product Version
fedoraproject fedora 32
dpdk data_plane_development_kit *
oracle enterprise_communications_broker 3.1.0
oracle enterprise_communications_broker 3.2.0
opensuse leap 15.1
CVE-2020-14374 HIGH

A flaw was found in dpdk in versions before 18.11.10 and before 19.11.5. A flawed bounds checking in the copy_data function leads to a buffer overflow allowing an attacker in a virtual machine to write arbitrary data to any address in the vhost_crypto application. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 8.8 HIGH CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H 2.0 6.0

CVSS 2.0

Severity: HIGH

Problem Type: CWE-120,CWE-120,

Products Affected

Vendor Product Version
dpdk data_plane_development_kit *
opensuse leap 15.2
canonical ubuntu_linux 20.04
opensuse leap 15.1
CVE-2020-14375 MEDIUM

A flaw was found in dpdk in versions before 18.11.10 and before 19.11.5. Virtio ring descriptors, and the data they describe are in a region of memory accessible by from both the virtual machine and the host. An attacker in a VM can change the contents of the memory after vhost_crypto has validated it. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.8 HIGH CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H 1.1 6.0

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-367,CWE-367,

Products Affected

Vendor Product Version
dpdk data_plane_development_kit *
opensuse leap 15.2
canonical ubuntu_linux 20.04
opensuse leap 15.1
CVE-2020-14376 MEDIUM

A flaw was found in dpdk in versions before 18.11.10 and before 19.11.5. A lack of bounds checking when copying iv_data from the VM guest memory into host memory can lead to a large buffer overflow. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.8 HIGH CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H 1.1 6.0

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-120,CWE-120,

Products Affected

Vendor Product Version
dpdk data_plane_development_kit *
opensuse leap 15.2
canonical ubuntu_linux 20.04
opensuse leap 15.1
CVE-2020-14377 LOW

A flaw was found in dpdk in versions before 18.11.10 and before 19.11.5. A complete lack of validation of attacker-controlled parameters can lead to a buffer over read. The results of the over read are then written back to the guest virtual machine memory. This vulnerability can be used by an attacker in a virtual machine to read significant amounts of host memory. The highest threat from this vulnerability is to data confidentiality and system availability.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.1 HIGH CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H 1.8 5.2

CVSS 2.0

Severity: LOW

Problem Type: CWE-125,CWE-125,

Products Affected

Vendor Product Version
dpdk data_plane_development_kit *
opensuse leap 15.2
canonical ubuntu_linux 20.04
opensuse leap 15.1
CVE-2020-14378 LOW

An integer underflow in dpdk versions before 18.11.10 and before 19.11.5 in the `move_desc` function can lead to large amounts of CPU cycles being eaten up in a long running loop. An attacker could cause `move_desc` to get stuck in a 4,294,967,295-count iteration loop. Depending on how `vhost_crypto` is being used this could prevent other VMs or network tasks from being serviced by the busy DPDK lcore for an extended period.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 3.3 LOW CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L 1.8 1.4

CVSS 2.0

Severity: LOW

Problem Type: CWE-191,CWE-191,

Products Affected

Vendor Product Version
dpdk data_plane_development_kit *
opensuse leap 15.2
canonical ubuntu_linux 20.04
opensuse leap 15.1
CVE-2021-3839

A flaw was found in the vhost library in DPDK. Function vhost_user_set_inflight_fd() does not validate `msg->payload.inflight.num_queues`, possibly causing out-of-bounds memory read/write. Any software using DPDK vhost library may crash as a result of this vulnerability.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 3.9 3.6

Products Affected

Vendor Product Version
redhat enterprise_linux_fast_datapath 8.0
redhat enterprise_linux 8.0
dpdk data_plane_development_kit *
redhat enterprise_linux_fast_datapath 7.0
dpdk data_plane_development_kit 22.03
redhat enterprise_linux 7.0
fedoraproject fedora 35
redhat enterprise_linux 9.0
CVE-2022-0669

A flaw was found in dpdk. This flaw allows a malicious vhost-user master to attach an unexpected number of fds as ancillary data to VHOST_USER_GET_INFLIGHT_FD / VHOST_USER_SET_INFLIGHT_FD messages that are not closed by the vhost-user slave. By sending such messages continuously, the vhost-user master exhausts available fd in the vhost-user slave process, leading to a denial of service.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 6.5 MEDIUM CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H 2.0 4.0

Products Affected

Vendor Product Version
openvswitch openvswitch 2.13.0
redhat openshift_container_platform 4.0
dpdk data_plane_development_kit 19.11
dpdk data_plane_development_kit *
dpdk data_plane_development_kit 22.03
openvswitch openvswitch 2.15.0
CVE-2022-2132

A permissive list of allowed inputs flaw was found in DPDK. This issue allows a remote attacker to cause a denial of service triggered by sending a crafted Vhost header to DPDK.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 8.6 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H 3.9 4.0

Products Affected

Vendor Product Version
redhat openstack_platform 13.0
debian debian_linux 10.0
redhat enterprise_linux_fast_datapath 9.0
dpdk data_plane_development_kit *
redhat enterprise_linux_fast_datapath 7.0
redhat enterprise_linux 7.0
redhat virtualization 4.0
redhat enterprise_linux 9.0
redhat enterprise_linux_fast_datapath 8.0
redhat enterprise_linux 8.0
redhat openshift_container_platform 4.0
fedoraproject fedora 36