CVE-2022-26495
Last modified
CVE-2022-26495 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 2.74% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Network Block Device Project | Network Block Device | < 3.24 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
References
- https://lists.debian.org/debian-lts-announce/2022/03/msg00014.htmlMailing List, Third Party Advisory
- https://lists.debian.org/nbd/2022/01/msg00037.htmlExploit, Mailing List, Third Party Advisory
- https://sourceforge.net/projects/nbd/files/nbd/Product, Release Notes, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5100Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00014.htmlMailing List, Third Party Advisory
- https://lists.debian.org/nbd/2022/01/msg00037.htmlExploit, Mailing List, Third Party Advisory
- https://sourceforge.net/projects/nbd/files/nbd/Product, Release Notes, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5100Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-26495?
How severe is CVE-2022-26495?
How do I fix CVE-2022-26495?
Are you affected by CVE-2022-26495?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
