Debian DSA-5130-1 : dpdk - security update

high Nessus Plugin ID 160629

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dsa-5130 advisory.

- 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. (CVE-2021-3839)

- 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. (CVE-2022-0669)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the dpdk packages.

For the stable distribution (bullseye), these problems have been fixed in version 20.11.5-1~deb11u1.

See Also

https://security-tracker.debian.org/tracker/source-package/dpdk

https://www.debian.org/security/2022/dsa-5130

https://security-tracker.debian.org/tracker/CVE-2021-3839

https://security-tracker.debian.org/tracker/CVE-2022-0669

https://packages.debian.org/source/bullseye/dpdk

Plugin Details

Severity: High

ID: 160629

File Name: debian_DSA-5130.nasl

Version: 1.5

Type: local

Agent: unix

Published: 5/5/2022

Updated: 3/21/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2021-3839

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:librte-mempool-dpaa2-21, p-cpe:/a:debian:debian_linux:librte-net-enetc21, p-cpe:/a:debian:debian_linux:librte-bus-pci21, p-cpe:/a:debian:debian_linux:librte-net-af-xdp21, p-cpe:/a:debian:debian_linux:librte-ethdev21, p-cpe:/a:debian:debian_linux:librte-net-thunderx21, p-cpe:/a:debian:debian_linux:librte-port21, p-cpe:/a:debian:debian_linux:librte-bpf21, p-cpe:/a:debian:debian_linux:librte-baseband-null21, p-cpe:/a:debian:debian_linux:librte-net-hns3-21, p-cpe:/a:debian:debian_linux:librte-net-hinic21, p-cpe:/a:debian:debian_linux:librte-net-liquidio21, p-cpe:/a:debian:debian_linux:librte-event-octeontx21, p-cpe:/a:debian:debian_linux:librte-meta-compress, p-cpe:/a:debian:debian_linux:librte-net-avp21, p-cpe:/a:debian:debian_linux:librte-net-pcap21, p-cpe:/a:debian:debian_linux:libdpdk-dev, p-cpe:/a:debian:debian_linux:librte-hash21, p-cpe:/a:debian:debian_linux:librte-baseband-fpga-5gnr-fec21, p-cpe:/a:debian:debian_linux:librte-mempool-stack21, p-cpe:/a:debian:debian_linux:librte-common-mlx5-21, p-cpe:/a:debian:debian_linux:librte-event-octeontx2-21, p-cpe:/a:debian:debian_linux:librte-net-i40e21, p-cpe:/a:debian:debian_linux:librte-raw-ntb21, p-cpe:/a:debian:debian_linux:librte-jobstats21, p-cpe:/a:debian:debian_linux:librte-common-cpt21, p-cpe:/a:debian:debian_linux:librte-net-octeontx2-21, p-cpe:/a:debian:debian_linux:librte-ipsec21, p-cpe:/a:debian:debian_linux:dpdk-dev, p-cpe:/a:debian:debian_linux:librte-mbuf21, p-cpe:/a:debian:debian_linux:librte-member21, p-cpe:/a:debian:debian_linux:librte-event-sw21, p-cpe:/a:debian:debian_linux:librte-net-ena21, p-cpe:/a:debian:debian_linux:librte-raw-ifpga21, p-cpe:/a:debian:debian_linux:librte-eal21, p-cpe:/a:debian:debian_linux:librte-meta-raw, p-cpe:/a:debian:debian_linux:librte-net-vdev-netvsc21, p-cpe:/a:debian:debian_linux:librte-event-dlb21, p-cpe:/a:debian:debian_linux:librte-net-null21, p-cpe:/a:debian:debian_linux:librte-net-ixgbe21, p-cpe:/a:debian:debian_linux:librte-mempool-ring21, p-cpe:/a:debian:debian_linux:librte-vhost21, p-cpe:/a:debian:debian_linux:librte-net-atlantic21, p-cpe:/a:debian:debian_linux:dpdk-doc, p-cpe:/a:debian:debian_linux:librte-crypto-aesni-mb21, p-cpe:/a:debian:debian_linux:librte-net-iavf21, p-cpe:/a:debian:debian_linux:librte-baseband-acc100-21, p-cpe:/a:debian:debian_linux:librte-net-e1000-21, p-cpe:/a:debian:debian_linux:librte-crypto-dpaa2-sec21, p-cpe:/a:debian:debian_linux:librte-rcu21, p-cpe:/a:debian:debian_linux:librte-net-failsafe21, p-cpe:/a:debian:debian_linux:librte-crypto-octeontx21, p-cpe:/a:debian:debian_linux:librte-net-axgbe21, p-cpe:/a:debian:debian_linux:librte-meta-allpmds, p-cpe:/a:debian:debian_linux:librte-event-dlb2-21, p-cpe:/a:debian:debian_linux:librte-net-virtio21, p-cpe:/a:debian:debian_linux:librte-raw-octeontx2-dma21, p-cpe:/a:debian:debian_linux:librte-common-octeontx21, p-cpe:/a:debian:debian_linux:librte-cryptodev21, p-cpe:/a:debian:debian_linux:librte-net-enic21, p-cpe:/a:debian:debian_linux:librte-fib21, p-cpe:/a:debian:debian_linux:librte-net-octeontx21, p-cpe:/a:debian:debian_linux:librte-raw-ioat21, p-cpe:/a:debian:debian_linux:librte-meta-net, p-cpe:/a:debian:debian_linux:librte-ring21, p-cpe:/a:debian:debian_linux:librte-pci21, p-cpe:/a:debian:debian_linux:librte-net-ice21, p-cpe:/a:debian:debian_linux:librte-net-dpaa2-21, p-cpe:/a:debian:debian_linux:librte-latencystats21, p-cpe:/a:debian:debian_linux:librte-meta-crypto, p-cpe:/a:debian:debian_linux:librte-cfgfile21, p-cpe:/a:debian:debian_linux:librte-mempool-dpaa21, p-cpe:/a:debian:debian_linux:librte-event-opdl21, p-cpe:/a:debian:debian_linux:librte-rib21, p-cpe:/a:debian:debian_linux:librte-crypto-kasumi21, p-cpe:/a:debian:debian_linux:librte-raw-dpaa2-qdma21, p-cpe:/a:debian:debian_linux:librte-bus-vmbus21, p-cpe:/a:debian:debian_linux:librte-compress-zlib21, p-cpe:/a:debian:debian_linux:librte-mempool-octeontx2-21, p-cpe:/a:debian:debian_linux:librte-net21, p-cpe:/a:debian:debian_linux:librte-gso21, p-cpe:/a:debian:debian_linux:librte-mempool21, p-cpe:/a:debian:debian_linux:librte-net-ark21, p-cpe:/a:debian:debian_linux:librte-crypto-null21, p-cpe:/a:debian:debian_linux:librte-compress-octeontx21, p-cpe:/a:debian:debian_linux:librte-mempool-octeontx21, p-cpe:/a:debian:debian_linux:librte-compressdev21, p-cpe:/a:debian:debian_linux:librte-crypto-ccp21, p-cpe:/a:debian:debian_linux:librte-common-iavf21, p-cpe:/a:debian:debian_linux:librte-crypto-octeontx2-21, p-cpe:/a:debian:debian_linux:librte-bus-dpaa21, p-cpe:/a:debian:debian_linux:librte-net-txgbe21, p-cpe:/a:debian:debian_linux:librte-distributor21, p-cpe:/a:debian:debian_linux:librte-baseband-fpga-lte-fec21, p-cpe:/a:debian:debian_linux:librte-net-kni21, p-cpe:/a:debian:debian_linux:librte-baseband-turbo-sw21, p-cpe:/a:debian:debian_linux:librte-bus-fslmc21, p-cpe:/a:debian:debian_linux:librte-security21, p-cpe:/a:debian:debian_linux:librte-bus-ifpga21, p-cpe:/a:debian:debian_linux:librte-event-skeleton21, p-cpe:/a:debian:debian_linux:librte-raw-skeleton21, p-cpe:/a:debian:debian_linux:librte-acl21, p-cpe:/a:debian:debian_linux:librte-timer21, p-cpe:/a:debian:debian_linux:librte-crypto-zuc21, p-cpe:/a:debian:debian_linux:librte-gro21, p-cpe:/a:debian:debian_linux:librte-node21, p-cpe:/a:debian:debian_linux:librte-sched21, p-cpe:/a:debian:debian_linux:librte-crypto-nitrox21, p-cpe:/a:debian:debian_linux:librte-compress-isal21, p-cpe:/a:debian:debian_linux:librte-meta-mempool, p-cpe:/a:debian:debian_linux:librte-reorder21, p-cpe:/a:debian:debian_linux:librte-graph21, p-cpe:/a:debian:debian_linux:librte-meta-bus, p-cpe:/a:debian:debian_linux:librte-ip-frag21, p-cpe:/a:debian:debian_linux:librte-metrics21, p-cpe:/a:debian:debian_linux:librte-meta-all, p-cpe:/a:debian:debian_linux:librte-net-af-packet21, p-cpe:/a:debian:debian_linux:librte-net-mlx4-21, p-cpe:/a:debian:debian_linux:librte-table21, p-cpe:/a:debian:debian_linux:librte-common-dpaax21, p-cpe:/a:debian:debian_linux:librte-kni21, p-cpe:/a:debian:debian_linux:librte-efd21, p-cpe:/a:debian:debian_linux:librte-bbdev21, p-cpe:/a:debian:debian_linux:librte-net-softnic21, p-cpe:/a:debian:debian_linux:librte-crypto-scheduler21, p-cpe:/a:debian:debian_linux:librte-regex-octeontx2-21, p-cpe:/a:debian:debian_linux:librte-telemetry21, p-cpe:/a:debian:debian_linux:librte-raw-dpaa2-cmdif21, p-cpe:/a:debian:debian_linux:librte-net-ipn3ke21, p-cpe:/a:debian:debian_linux:librte-crypto-snow3g21, p-cpe:/a:debian:debian_linux:librte-meter21, p-cpe:/a:debian:debian_linux:librte-net-vmxnet3-21, p-cpe:/a:debian:debian_linux:librte-vdpa-mlx5-21, p-cpe:/a:debian:debian_linux:librte-net-memif21, p-cpe:/a:debian:debian_linux:dpdk, p-cpe:/a:debian:debian_linux:librte-eventdev21, p-cpe:/a:debian:debian_linux:librte-kvargs21, p-cpe:/a:debian:debian_linux:librte-regexdev21, p-cpe:/a:debian:debian_linux:librte-meta-baseband, p-cpe:/a:debian:debian_linux:librte-rawdev21, p-cpe:/a:debian:debian_linux:librte-meta-event, p-cpe:/a:debian:debian_linux:librte-crypto-dpaa-sec21, p-cpe:/a:debian:debian_linux:librte-vdpa-ifc21, p-cpe:/a:debian:debian_linux:librte-pipeline21, p-cpe:/a:debian:debian_linux:librte-net-netvsc21, p-cpe:/a:debian:debian_linux:librte-stack21, p-cpe:/a:debian:debian_linux:librte-crypto-caam-jr21, p-cpe:/a:debian:debian_linux:librte-net-nfp21, p-cpe:/a:debian:debian_linux:librte-flow-classify21, p-cpe:/a:debian:debian_linux:librte-bus-vdev21, p-cpe:/a:debian:debian_linux:librte-net-igc21, p-cpe:/a:debian:debian_linux:librte-pdump21, p-cpe:/a:debian:debian_linux:librte-net-qede21, p-cpe:/a:debian:debian_linux:librte-net-vhost21, p-cpe:/a:debian:debian_linux:librte-net-cxgbe21, p-cpe:/a:debian:debian_linux:librte-common-qat21, p-cpe:/a:debian:debian_linux:librte-crypto-bcmfs21, p-cpe:/a:debian:debian_linux:librte-event-dpaa2-21, p-cpe:/a:debian:debian_linux:librte-event-dsw21, p-cpe:/a:debian:debian_linux:librte-net-tap21, p-cpe:/a:debian:debian_linux:librte-net-dpaa21, p-cpe:/a:debian:debian_linux:librte-common-sfc-efx21, p-cpe:/a:debian:debian_linux:librte-net-mlx5-21, p-cpe:/a:debian:debian_linux:librte-event-dpaa21, p-cpe:/a:debian:debian_linux:librte-raw-octeontx2-ep21, p-cpe:/a:debian:debian_linux:librte-net-bnxt21, p-cpe:/a:debian:debian_linux:librte-net-fm10k21, p-cpe:/a:debian:debian_linux:librte-bitratestats21, p-cpe:/a:debian:debian_linux:librte-lpm21, p-cpe:/a:debian:debian_linux:librte-crypto-aesni-gcm21, p-cpe:/a:debian:debian_linux:librte-power21, p-cpe:/a:debian:debian_linux:librte-net-sfc21, p-cpe:/a:debian:debian_linux:librte-crypto-virtio21, p-cpe:/a:debian:debian_linux:librte-regex-mlx5-21, p-cpe:/a:debian:debian_linux:librte-crypto-openssl21, p-cpe:/a:debian:debian_linux:librte-net-bnx2x21, p-cpe:/a:debian:debian_linux:librte-net-ring21, p-cpe:/a:debian:debian_linux:librte-mempool-bucket21, p-cpe:/a:debian:debian_linux:librte-common-octeontx2-21, p-cpe:/a:debian:debian_linux:librte-net-pfe21, p-cpe:/a:debian:debian_linux:librte-cmdline21, p-cpe:/a:debian:debian_linux:librte-net-bond21

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 5/5/2022

Vulnerability Publication Date: 5/5/2022

Reference Information

CVE: CVE-2021-3839, CVE-2022-0669