# CVE-2019-14818: Denial of service in dpdk

> A malicious master or container can cause a memory and file descriptor leak in DPDK, leading to a denial of service condition.

- **Severity:** High 7.5 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 14 Nov 2019
- **Updated:** 5 Aug 2024
- **Also known as:** DEBIAN-CVE-2019-14818, DSA-4567-1, GHSA-c968-9rc6-v8jv, RHBA-2020:0769, RHSA-2020:0165, RHSA-2020:0166, RHSA-2020:0168, RHSA-2020:0171, RHSA-2020:0172, RHSA-2020:1226, RHSA-2020:1735, SUSE-SU-2019:3032-1, SUSE-SU-2019:3179-1, SUSE-SU-2020:0412-1, SUSE-SU-2020:0439-1, UBUNTU-CVE-2019-14818, USN-4189-1

## What is CVE-2019-14818?

CVE-2019-14818 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 14 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

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.

Weakness: CWE-401 (Missing Release of Memory after Effective Lifetime)

## Which versions are affected by CVE-2019-14818?

It affects 5 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `openvswitch` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.9.0-124.el7fdp |
| `openvswitch-debuginfo` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.9.0-124.el7fdp |
| `openvswitch-devel` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.9.0-124.el7fdp |
| `openvswitch-ovn-central` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.9.0-124.el7fdp |
| `openvswitch-ovn-common` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.9.0-124.el7fdp |
| `openvswitch-ovn-host` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.9.0-124.el7fdp |
| `openvswitch-ovn-vtep` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.9.0-124.el7fdp |
| `openvswitch-test` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.9.0-124.el7fdp |
| `openvswitch2.11` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-35.el7fdp |
| `openvswitch2.11-debuginfo` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-35.el7fdp |
| `openvswitch2.11-devel` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-35.el7fdp |
| `openvswitch2.11-test` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-35.el7fdp |
| `openvswitch2.12` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.12.0-12.el7fdp |
| `openvswitch2.12-debuginfo` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.12.0-12.el7fdp |
| `openvswitch2.12-devel` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.12.0-12.el7fdp |
| `openvswitch2.12-test` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.12.0-12.el7fdp |
| `python-openvswitch` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.9.0-124.el7fdp |
| `python-openvswitch2.11` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-35.el7fdp |
| `python-openvswitch2.12` | Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.12.0-12.el7fdp |
| `openvswitch` | Red Hat:enterprise_linux:7::hypervisor | All versions | 0:2.9.0-124.el7fdp |
| `openvswitch-debuginfo` | Red Hat:enterprise_linux:7::hypervisor | All versions | 0:2.9.0-124.el7fdp |
| `openvswitch-devel` | Red Hat:enterprise_linux:7::hypervisor | All versions | 0:2.9.0-124.el7fdp |
| `openvswitch-ovn-common` | Red Hat:enterprise_linux:7::hypervisor | All versions | 0:2.9.0-124.el7fdp |
| `openvswitch-ovn-host` | Red Hat:enterprise_linux:7::hypervisor | All versions | 0:2.9.0-124.el7fdp |
| `python-openvswitch` | Red Hat:enterprise_linux:7::hypervisor | All versions | 0:2.9.0-124.el7fdp |
| `dpdk` | Red Hat:enterprise_linux:8::appstream | All versions | 0:19.11-4.el8 |
| `dpdk-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:19.11-4.el8 |
| `dpdk-debugsource` | Red Hat:enterprise_linux:8::appstream | All versions | 0:19.11-4.el8 |
| `dpdk-devel` | Red Hat:enterprise_linux:8::appstream | All versions | 0:19.11-4.el8 |
| `dpdk-devel-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:19.11-4.el8 |
| `dpdk-doc` | Red Hat:enterprise_linux:8::appstream | All versions | 0:19.11-4.el8 |
| `dpdk-tools` | Red Hat:enterprise_linux:8::appstream | All versions | 0:19.11-4.el8 |
| `network-scripts-openvswitch2.11` | Red Hat:enterprise_linux:8::fastdatapath | All versions | 0:2.11.0-35.el8fdp |
| `network-scripts-openvswitch2.12` | Red Hat:enterprise_linux:8::fastdatapath | All versions | 0:2.12.0-12.el8fdp |
| `openvswitch2.11` | Red Hat:enterprise_linux:8::fastdatapath | All versions | 0:2.11.0-35.el8fdp |
| `openvswitch2.11-debuginfo` | Red Hat:enterprise_linux:8::fastdatapath | All versions | 0:2.11.0-35.el8fdp |
| `openvswitch2.11-debugsource` | Red Hat:enterprise_linux:8::fastdatapath | All versions | 0:2.11.0-35.el8fdp |
| `openvswitch2.11-devel` | Red Hat:enterprise_linux:8::fastdatapath | All versions | 0:2.11.0-35.el8fdp |
| `openvswitch2.11-test` | Red Hat:enterprise_linux:8::fastdatapath | All versions | 0:2.11.0-35.el8fdp |
| `openvswitch2.12` | Red Hat:enterprise_linux:8::fastdatapath | All versions | 0:2.12.0-12.el8fdp |

Products: Dpdk Data Plane Development Kit, Fedoraproject Fedora, Redhat Enterprise Linux Fast Datapath, Redhat Openstack, Redhat Virtualization Eus.

## How do I fix CVE-2019-14818?

Upgrade to a fixed version.

## Is CVE-2019-14818 being exploited?

There is no known exploitation of CVE-2019-14818 in the wild and no public exploit code.

## Other vulnerabilities in Fedoraproject Fedora

- [CVE-2020-10725](https://insights.sbomify.com/CVE-2020-10725/): Null dereference in dpdk (high 7.7)
- [CVE-2021-3839](https://insights.sbomify.com/CVE-2021-3839/): Memory corruption in dpdk (high 7.5)
- [CVE-2022-0669](https://insights.sbomify.com/CVE-2022-0669/): Denial of service in DPDK (medium 6.5)
- [CVE-2020-10726](https://insights.sbomify.com/CVE-2020-10726/): Denial of service in dpdk (medium 6.0)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2019-14818 and fix it if it is affected.

What it is: CVE-2019-14818 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 14 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2019-14818 in the wild and no public exploit code.

Affected product: Fedoraproject Fedora. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2019-14818/ (Markdown: https://insights.sbomify.com/CVE-2019-14818/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2019-14818
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2019-14818
- OSV: https://osv.dev/vulnerability/CVE-2019-14818

---
From sbomify Insights: https://insights.sbomify.com/CVE-2019-14818/
Summaries are generated and may contain mistakes; the official description above is the record.
