Vulnerability · Published Mar 6, 2022 · Assigned by mitre

CVE-2022-26495

Critical 9.8

In plain English

A critical-severity security flaw in the nbd package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.9% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.9%top 13.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20nbd3.24-r0ALPINE-CVE-2022-26495
Alpine:v3.21nbd3.24-r0ALPINE-CVE-2022-26495
Alpine:v3.22nbd3.24-r0ALPINE-CVE-2022-26495
Alpine:v3.23nbd3.24-r0ALPINE-CVE-2022-26495
Alpine:v3.24nbd3.24-r0ALPINE-CVE-2022-26495
Debian:12nbd1:3.24-1DEBIAN-CVE-2022-26495
Debian:13nbd1:3.24-1DEBIAN-CVE-2022-26495
Debian:14nbd1:3.24-1DEBIAN-CVE-2022-26495
Ubuntu:22.04:LTSnbd1:3.23-3ubuntu1UBUNTU-CVE-2022-26495

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References