Bug 2061542 (CVE-2022-26496) - CVE-2022-26496 nbd: stack-based buffer overflow during name parsing in nbd-server.c
Summary: CVE-2022-26496 nbd: stack-based buffer overflow during name parsing in nbd-se...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2022-26496
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2061888 2061889
Blocks: 2061543
TreeView+ depends on / blocked
 
Reported: 2022-03-07 19:23 UTC by Patrick Del Bello
Modified: 2022-03-08 21:32 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-03-08 21:32:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Patrick Del Bello 2022-03-07 19:23:47 UTC
In nbd-server in nbd before 3.24, there is a stack-based buffer overflow. An attacker can cause a buffer overflow in the parsing of the name field by sending a crafted NBD_OPT_INFO or NBD_OPT_GO message with an large value as the length of the name.

https://sourceforge.net/projects/nbd/files/nbd/
https://lists.debian.org/nbd/2022/01/msg00037.html
https://lists.debian.org/nbd/2022/01/msg00036.html

Comment 1 Guilherme de Almeida Suckevicz 2022-03-08 16:56:33 UTC
Created nbd tracking bugs for this issue:

Affects: epel-7 [bug 2061888]
Affects: fedora-all [bug 2061889]

Comment 2 Product Security DevOps Team 2022-03-08 21:32:38 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.