Arbitrary Code Execution Vulnerability in Newstyle NBD Protocol by Red Hat
CVE-2019-14842
7.3HIGH
What is CVE-2019-14842?
The Newstyle Network Block Device (NBD) protocol contains an arbitrary code execution vulnerability resulting from improper bounds checking during the processing of chunked server responses. A flaw in handling chunk offsets can lead to negative offsets being processed, allowing an attacker to manipulate memory allocation. When a read buffer is located on the stack, it can lead to modification of the return address and enable arbitrary code execution under the server's control. Similarly, if the read buffer is on the heap, it opens the door for nearby memory objects to be overwritten, creating the potential for further exploitation.
Affected Version(s)
libnbd 1.0.3