p PatchFirst

CVE-2019-14842

CVE-2019-14842

CVSS 7.3 · High · EPSS 1.8% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • libnbdNo fix published
  • libnbd Debian 12Update to 1.0.3-1
  • libnbd Debian 13Update to 1.0.3-1
  • libnbd Debian 14Update to 1.0.3-1

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libnbd"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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
Updated

Stack: system

Affected products and versions

  • libnbd

    Versions
    • 1.0.3: Affected

    No fix published

  • libnbd Debian 12

    Affected ranges
    • ECOSYSTEM: < 1.0.3-1

    Update to 1.0.3-1

  • libnbd Debian 13

    Affected ranges
    • ECOSYSTEM: < 1.0.3-1

    Update to 1.0.3-1

  • libnbd Debian 14

    Affected ranges
    • ECOSYSTEM: < 1.0.3-1

    Update to 1.0.3-1

Original sources

Check your server →