VendorsRed Hatlibnbdall versions
Vulnerabilities

Red Hat Libnbd

Ranked by severity, then by exploit likelihood. Click a CVE ID for its full record.

5CVEs
CVE-2019-14842
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.
Published 2019-11-26 · Modified
9.8EPSS 0.018
CVE-2023-5215
Libnbd: crash or misbehaviour when nbd server returns an unexpected block size
Published 2023-09-28 · Modified
6.5EPSS 0.007
CVE-2023-5871
Libnbd: malicious nbd server may crash libnbd
Published 2023-11-27 · Modified
5.3EPSS 0.009
CVE-2022-0485
A flaw was found in the copying tool `nbdcopy` of libnbd. When performing multi-threaded copies using asynchronous nbd calls, nbdcopy was blindly treating the completion of an asynchronous command as successful, rather than checking the *error parameter. This could result in the silent creation of a corrupted destination image.
Published 2022-08-29 · Modified
4.8EPSS 0.010
CVE-2021-20286
A flaw was found in libnbd 1.7.3. An assertion failure in nbd_unlocked_opt_go in ilb/opt.c may lead to denial of service.
Published 2021-03-15 · Modified
4.0EPSS 0.011