CVE-2019-14821
Linux Kernel: Out-of-bounds Write
Check your servers for CVE-2019-14821
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-14821 affects kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
An out-of-bounds access issue was found in the Linux kernel, all versions through 5.3, in the way Linux kernel's KVM hypervisor implements the Coalesced MMIO write operation. It operates on an MMIO ring buffer 'struct kvm_coalesced_mmio' object, wherein write indices 'ring->first' and 'ring->last' value could be supplied by a host user-space process. An unprivileged host user or process with access to '/dev/kvm' device could use this flaw to crash the host kernel, resulting in a denial of service or potentially escalating privileges on the system.
Severity (CVSS)
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:N/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
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.76%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 56.5% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-787 Out-of-bounds Write
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of kernel 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 kernel
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-14821 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-14821RHEL, Rocky, Alma, Fedora
rpm -q kernel
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-14821Alpine
apk list --installed | grep -i kernelWith 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-14821
trivy image --scanners vuln IMAGE | grep CVE-2019-14821
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-14821 bugzilla.redhat.com
- FEDORA-2019-15e141c6a7 lists.fedoraproject.org · vendor advisory
- DSA-4531 debian.org · vendor advisory
- FEDORA-2019-a570a92d5a lists.fedoraproject.org · vendor advisory
- https://security.netapp.com/advisory/ntap-20191004-0001/ security.netapp.com
- openSUSE-SU-2019:2307 lists.opensuse.org · vendor advisory
- openSUSE-SU-2019:2308 lists.opensuse.org · vendor advisory
- USN-4157-1 usn.ubuntu.com · vendor advisory
- USN-4162-1 usn.ubuntu.com · vendor advisory
- USN-4157-2 usn.ubuntu.com · vendor advisory
- USN-4163-1 usn.ubuntu.com · vendor advisory
- USN-4163-2 usn.ubuntu.com · vendor advisory
9 more
- USN-4162-2 usn.ubuntu.com · vendor advisory
- RHSA-2019:3309 access.redhat.com · vendor advisory
- RHSA-2019:3517 access.redhat.com · vendor advisory
- RHSA-2019:3978 access.redhat.com · vendor advisory
- RHSA-2019:3979 access.redhat.com · vendor advisory
- RHSA-2019:4154 access.redhat.com · vendor advisory
- RHSA-2019:4256 access.redhat.com · vendor advisory
- RHSA-2020:0027 access.redhat.com · vendor advisory
- RHSA-2020:0204 access.redhat.com · vendor advisory
Other references
- [oss-security] 20190920 CVE-2019-14821 Kernel: KVM: OOB memory access via mmio ring buffer 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
- 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
- https://www.oracle.com/security-alerts/cpuapr2020.html oracle.com
Source: the record CVE-2019-14821 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