libnbd: remote code execution vulnerability
Published Nov 26, 2019
9.8
CRITICALCVSS 3.1
EPSS 1.85%
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.
Affected products
- Vendor n/a Product Libnbd Defaultn/a
- Version 1.0.3StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Libnbd | n/a |
|
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
This vulnerability does not affect any package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.
References (7)
- https://access.redhat.com/security/cve/CVE-2019-14842 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1776860 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14842 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-5966 Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-14842
- https://www.cve.org/CVERecord?id=CVE-2019-14842
- https://www.redhat.com/archives/libguestfs/2019-October/msg00060.html x_refsource_MISCPatchThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2019-14842 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1776860 | Issue Tracking | |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14842 | x_refsource_CONFIRMIssue TrackingThird Party Advisory | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-5966 | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-14842 | ||
| https://www.cve.org/CVERecord?id=CVE-2019-14842 | ||
| https://www.redhat.com/archives/libguestfs/2019-October/msg00060.html | x_refsource_MISCPatchThird Party Advisory |
Change history (0)
No recorded changes yet.