CVE-2019-14835: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-h3vw-f6h8-86mg
CVSS 7.8
CWE-120
Published
Advisory Summary

CVE-2019-14835 is a HIGH (CVSS 7.8) security vulnerability vulnerability (CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.. Remediation is available in the latest vendor maintenance releases.

CVE-2019-14835 at a Glance

CVE Identifier CVE-2019-14835
GHSA Identifier GHSA-h3vw-f6h8-86mg
Severity HIGH
CVSS v3.1 Base Score 7.8
CWE Classification CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2019-14835

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2019-14835, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'), where the product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

References

NVD — CVE-2019-14835 NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-14835
Software Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2019-14835
Software Security Information SECURITY
https://access.redhat.com/security/vulnerabilities/kernel-vhost
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=1750727
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14835
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2019/09/msg00025.html
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2019/10/msg00000.html
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KQFY6JYFIQ2VFQ7QCSXPWTUL5ZDNCJL5
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2019/10/09/7
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YW3QNMPENPFEGVTOFPSNOBL7JEIJS25P
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KQFY6JYFIQ2VFQ7QCSXPWTUL5ZDNCJL5
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YW3QNMPENPFEGVTOFPSNOBL7JEIJS25P
seclists.org/bugtraq/2019/nov/11 WEB
https://seclists.org/bugtraq/2019/Nov/11
seclists.org/bugtraq/2019/sep/41 WEB
https://seclists.org/bugtraq/2019/Sep/41
Software Security Information SECURITY
https://security.netapp.com/advisory/ntap-20191031-0005
usn.ubuntu.com/4135-1 WEB
https://usn.ubuntu.com/4135-1
usn.ubuntu.com/4135-2 WEB
https://usn.ubuntu.com/4135-2
Software Security Information SECURITY
https://www.debian.org/security/2019/dsa-4531
Software Security Information SECURITY
https://www.openwall.com/lists/oss-security/2019/09/17/1
access.redhat.com/errata/rhba-2019:28... WEB
https://access.redhat.com/errata/RHBA-2019:2824
access.redhat.com/errata/rhsa-2019:28... WEB
https://access.redhat.com/errata/RHSA-2019:2827
access.redhat.com/errata/rhsa-2019:28... WEB
https://access.redhat.com/errata/RHSA-2019:2828
access.redhat.com/errata/rhsa-2019:28... WEB
https://access.redhat.com/errata/RHSA-2019:2829
access.redhat.com/errata/rhsa-2019:28... WEB
https://access.redhat.com/errata/RHSA-2019:2830
access.redhat.com/errata/rhsa-2019:28... WEB
https://access.redhat.com/errata/RHSA-2019:2854
access.redhat.com/errata/rhsa-2019:28... WEB
https://access.redhat.com/errata/RHSA-2019:2862
access.redhat.com/errata/rhsa-2019:28... WEB
https://access.redhat.com/errata/RHSA-2019:2863
access.redhat.com/errata/rhsa-2019:28... WEB
https://access.redhat.com/errata/RHSA-2019:2864
access.redhat.com/errata/rhsa-2019:28... WEB
https://access.redhat.com/errata/RHSA-2019:2865
access.redhat.com/errata/rhsa-2019:28... WEB
https://access.redhat.com/errata/RHSA-2019:2866
access.redhat.com/errata/rhsa-2019:28... WEB
https://access.redhat.com/errata/RHSA-2019:2867
access.redhat.com/errata/rhsa-2019:28... WEB
https://access.redhat.com/errata/RHSA-2019:2869
access.redhat.com/errata/rhsa-2019:28... WEB
https://access.redhat.com/errata/RHSA-2019:2889
access.redhat.com/errata/rhsa-2019:28... WEB
https://access.redhat.com/errata/RHSA-2019:2899
access.redhat.com/errata/rhsa-2019:29... WEB
https://access.redhat.com/errata/RHSA-2019:2900
access.redhat.com/errata/rhsa-2019:29... WEB
https://access.redhat.com/errata/RHSA-2019:2901
access.redhat.com/errata/rhsa-2019:29... WEB
https://access.redhat.com/errata/RHSA-2019:2924
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00064.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00066.html
Software Security Information SECURITY
http://packetstormsecurity.com/files/154572/Kernel-Live-Patch-Security-Notice-LSN-0056-1.html
Software Security Information SECURITY
http://packetstormsecurity.com/files/154951/Kernel-Live-Patch-Security-Notice-LSN-0058-1.html
Software Security Information SECURITY
http://packetstormsecurity.com/files/155212/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html
Software Security Information SECURITY
http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20200115-01-qemu-en
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2019/09/24/1
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2019/10/03/1
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2019/10/09/3

Frequently Asked Questions

What is CVE-2019-14835?
CVE-2019-14835 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow').
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2019-14835?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What is the CVSS score of CVE-2019-14835?
CVE-2019-14835 has a CVSS v3.1 base score of 7.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2019-14835?
CVE-2019-14835 is classified under CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') (The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.).
How can I check Maven dependencies for CVE-2019-14835?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-h3vw-f6h8-86mg",
  "modified" : "2023-02-02T21:33:45Z",
  "published" : "2022-05-24T16:56:21Z",
  "aliases" : [ "CVE-2019-14835" ],
  "details" : "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" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-14835"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2019-14835"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/vulnerabilities/kernel-vhost"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1750727"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14835"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2019/09/msg00025.html"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2019/10/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KQFY6JYFIQ2VFQ7QCSXPWTUL5ZDNCJL5"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YW3QNMPENPFEGVTOFPSNOBL7JEIJS25P"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KQFY6JYFIQ2VFQ7QCSXPWTUL5ZDNCJL5"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YW3QNMPENPFEGVTOFPSNOBL7JEIJS25P"
  }, {
    "type" : "WEB",
    "url" : "https://seclists.org/bugtraq/2019/Nov/11"
  }, {
    "type" : "WEB",
    "url" : "https://seclists.org/bugtraq/2019/Sep/41"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20191031-0005"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4135-1"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4135-2"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2019/dsa-4531"
  }, {
    "type" : "WEB",
    "url" : "https://www.openwall.com/lists/oss-security/2019/09/17/1"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHBA-2019:2824"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2827"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2828"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2829"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2830"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2854"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2862"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2863"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2864"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2865"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2866"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2867"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2869"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2889"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2899"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2900"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2901"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:2924"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00064.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00066.html"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/154572/Kernel-Live-Patch-Security-Notice-LSN-0056-1.html"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/154951/Kernel-Live-Patch-Security-Notice-LSN-0058-1.html"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/155212/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20200115-01-qemu-en"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2019/09/24/1"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2019/10/03/1"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2019/10/09/3"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2019/10/09/7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-120" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2019-09-17T16:15:00Z"
  }
}