CVE-2022-26495

Publication date 6 March 2022

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

9.8 · Critical

Score breakdown

In nbd-server in nbd before 3.24, there is an integer overflow with a resultant heap-based buffer overflow. A value of 0xffffffff in the name length field will cause a zero-sized buffer to be allocated for the name, resulting in a write to a dangling pointer. This issue exists for the NBD_OPT_INFO, NBD_OPT_GO, and NBD_OPT_EXPORT_NAME messages.

Status

Package Ubuntu Release Status
nbd 24.10 oracular
Fixed 1:3.23-3ubuntu1
24.04 LTS noble
Fixed 1:3.23-3ubuntu1
23.10 mantic
Fixed 1:3.23-3ubuntu1
23.04 lunar
Fixed 1:3.23-3ubuntu1
22.10 kinetic
Fixed 1:3.23-3ubuntu1
22.04 LTS jammy
Fixed 1:3.23-3ubuntu1
21.10 impish
Fixed 1:3.21-1ubuntu0.1
20.04 LTS focal
Fixed 1:3.20-1ubuntu0.1
18.04 LTS bionic
Fixed 1:3.16.2-1ubuntu0.2
16.04 LTS xenial
Vulnerable
14.04 LTS trusty
Vulnerable

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
nbd

Severity score breakdown

Parameter Value
Base score 9.8 · Critical
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H