9.8
CRITICAL
CVE-2019-14842
Linux NBD Protocol Stack/Heap Overwrite Vulnerability
Description

Structured reply is a feature of the newstyle NBD protocol allowing the server to send a reply in chunks. A bounds check which was supposed to test for chunk offsets smaller than the beginning of the request did not work because of signed/unsigned confusion. If one of these chunks contains a negative offset then data under control of the server is written to memory before the read buffer supplied by the client. If the read buffer is located on the stack then this allows the stack return address from nbd_pread() to be trivially modified, allowing arbitrary code execution under the control of the server. If the buffer is located on the heap then other memory objects before the buffer can be overwritten, which again would usually lead to arbitrary code execution.

INFO

Published Date :

Nov. 26, 2019, 4:15 p.m.

Last Modified :

Nov. 30, 2022, 9:52 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2019-14842 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat libnbd
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-14842.

URL Resource
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14842 Issue Tracking Third Party Advisory
https://www.redhat.com/archives/libguestfs/2019-October/msg00060.html Patch Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-14842 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-14842 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Nov. 30, 2022

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Dec. 04, 2020

    Action Type Old Value New Value
    Removed CWE Red Hat, Inc. CWE-20
    Added CWE Red Hat, Inc. CWE-681
    Removed CWE Reason CWE-20 / More specific CWE option available
  • Reanalysis by [email protected]

    Oct. 09, 2020

    Action Type Old Value New Value
    Removed CWE NIST CWE-20
    Added CWE NIST CWE-681
    Changed CPE Configuration OR *cpe:2.3:a:libguestfs:libnbd:-:*:*:*:*:*:*:* OR *cpe:2.3:a:redhat:libnbd:*:*:*:*:*:*:*:* versions up to (excluding) 1.0.3
  • Initial Analysis by [email protected]

    Dec. 18, 2019

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14842 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14842 Issue Tracking, Third Party Advisory
    Changed Reference Type https://www.redhat.com/archives/libguestfs/2019-October/msg00060.html No Types Assigned https://www.redhat.com/archives/libguestfs/2019-October/msg00060.html Patch, Third Party Advisory
    Added CWE NIST CWE-20
    Added CPE Configuration OR *cpe:2.3:a:libguestfs:libnbd:-:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-14842 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2019-14842 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.41 }} 0.06%

score

0.71081

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability