CRITICAL🇵🇱 Wersja polska

CVE-2019-14842

CVSS 9.8v3.1pub. 2019-11-26upd. 2024-11-21

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.

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Red Hat Libnbd

    APP
    Redhat
    < 1.0.3
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCE
CWE
References

Related vulnerabilities

CVE-2023-5871MEDIUM5.3ten sam produkt

A flaw was found in libnbd, due to a malicious Network Block Device (NBD), a protocol for accessing Block Devi...

CVE-2023-5215MEDIUM5.3ten sam produkt

A flaw was found in libnbd. A server can reply with a block size larger than 2^63 (the NBD spec states the siz...

CVE-2022-0485MEDIUM4.8ten sam produkt

A flaw was found in the copying tool `nbdcopy` of libnbd. When performing multi-threaded copies using asynchro...

CVE-2021-20286LOW2.7ten sam produkt

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 ...

CVE-2025-32463CRITICAL9.3⚠ KEVPL ✓ten sam vendor

Sudo: eskalacja uprawnień do root poprzez opcję --chroot (CVE-2025-32463)