CVE-2019-14835
Linux kernel: Buffer Copy without Checking Size of Input
Check your servers for CVE-2019-14835
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-14835 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
A buffer overflow flaw was found, in versions from 2.6.34 to 5.2.x, in the way Linux kernel's vhost functionality that translates virtqueue buffers to IOVs, logged the buffer descriptors during migration. A privileged guest user able to pass descriptors with invalid length to the host when migration is underway, could use this flaw to increase their privileges on the host.
Severity (CVSS)
CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- high: the attacker needs an administrative account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.62%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 44.1% of all scored CVEs. Scores of 27 Nov 2026.
Weakness
- CWE-120 Buffer Copy without Checking Size of Input
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux kernel |
affected from version 2.6.34 to 5.2.x
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-14835 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-14835RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-14835Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2019-14835
trivy image --scanners vuln IMAGE | grep CVE-2019-14835
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14835 bugzilla.redhat.com
- USN-4135-2 usn.ubuntu.com · vendor advisory
- FEDORA-2019-e3010166bd lists.fedoraproject.org · vendor advisory
- RHSA-2019:2827 access.redhat.com · vendor advisory
- RHSA-2019:2828 access.redhat.com · vendor advisory
- RHSA-2019:2830 access.redhat.com · vendor advisory
- RHSA-2019:2829 access.redhat.com · vendor advisory
- RHSA-2019:2854 access.redhat.com · vendor advisory
- RHSA-2019:2862 access.redhat.com · vendor advisory
- RHSA-2019:2863 access.redhat.com · vendor advisory
- RHSA-2019:2866 access.redhat.com · vendor advisory
- RHSA-2019:2864 access.redhat.com · vendor advisory
16 more
- RHSA-2019:2865 access.redhat.com · vendor advisory
- RHSA-2019:2867 access.redhat.com · vendor advisory
- RHSA-2019:2869 access.redhat.com · vendor advisory
- openSUSE-SU-2019:2173 lists.opensuse.org · vendor advisory
- RHSA-2019:2889 access.redhat.com · vendor advisory
- openSUSE-SU-2019:2181 lists.opensuse.org · vendor advisory
- DSA-4531 debian.org · vendor advisory
- RHSA-2019:2900 access.redhat.com · vendor advisory
- RHSA-2019:2901 access.redhat.com · vendor advisory
- RHSA-2019:2899 access.redhat.com · vendor advisory
- RHSA-2019:2924 access.redhat.com · vendor advisory
- USN-4135-1 usn.ubuntu.com · vendor advisory
- FEDORA-2019-a570a92d5a lists.fedoraproject.org · vendor advisory
- RHBA-2019:2824 access.redhat.com · vendor advisory
- https://security.netapp.com/advisory/ntap-20191031-0005/ security.netapp.com
- http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20200115-01-qemu-en huawei.com
Other references
- https://www.openwall.com/lists/oss-security/2019/09/17/1 openwall.com
- http://packetstormsecurity.com/files/154572/Kernel-Live-Patch-Security-Notice-LSN-0056-1.html packetstormsecurity.com
- [oss-security] 20190924 Re: CVE-2019-14835: QEMU-KVM Guest to Host Kernel Escape Vulnerability: vhost/vhost_net… openwall.com · mailing list
- [debian-lts-announce] 20190925 [SECURITY] [DLA 1930-1] linux security update lists.debian.org · mailing list
- 20190925 [SECURITY] [DSA 4531-1] linux security update seclists.org · mailing list
- [debian-lts-announce] 20191001 [SECURITY] [DLA 1940-1] linux-4.9 security update lists.debian.org · mailing list
- [oss-security] 20191003 Re: CVE-2019-14835: QEMU-KVM Guest to Host Kernel Escape Vulnerability: vhost/vhost_net… openwall.com · mailing list
- [oss-security] 20191009 Re: CVE-2019-14835: QEMU-KVM Guest to Host Kernel Escape Vulnerability: vhost/vhost_net… openwall.com · mailing list
- [oss-security] 20191009 Re: CVE-2019-14835: QEMU-KVM Guest to Host Kernel Escape Vulnerability: vhost/vhost_net… openwall.com · mailing list
- http://packetstormsecurity.com/files/154951/Kernel-Live-Patch-Security-Notice-LSN-0058-1.html packetstormsecurity.com
- 20191108 [slackware-security] Slackware 14.2 kernel (SSA:2019-311-01) seclists.org · mailing list
- http://packetstormsecurity.com/files/155212/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html packetstormsecurity.com
Source: the record CVE-2019-14835 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse