Alerts This Week
Warning Icon 1 692
Alerts This Week
Warning Icon 1 692

Mageia: 2022-0403 Moderate: Nbd Integer Overflow And Buffer Overflow

mageia
Calendar Grey November 1, 2022
Dist Mageia Esm H88
MGASA-2022-0504 upgrades libxyz packages to address significant security vulnerabilities related to race conditions and memory leaks.
It was discovered that nbd prior to 3.24 contained an integer overflow with a resultant heap-based buffer overflow

Summary

It was discovered that nbd prior to 3.24 contained 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 (CVE-2022-26495).
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. (CVE-2022-26496)
Packaging has been adjusted to create the required nbd user and group at installation.

References

- https://bugs.mageia.org/show_bug.cgi?id=30153

- https://lists.debian.org/debian-lts-announce/2022/03/msg00014.html

- https://lists.debian.org/debian-security-announce/2022/msg00067.html

- https://ubuntu.com/security/notices/USN-5323-1

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/PU5JFD4PEJED72TZLZ5R2Q2SFXICU5I5/

-

- https://www.cve.org/CVERecord?id=CVE-2022-26495

- https://www.cve.org/CVERecord?id=CVE-2022-26496

Resolution

SRPMS

- 8/core/nbd-3.24-1.2.mga8

Publication date: 01 Nov 2022
URL: https://advisories.mageia.org/MGASA-2022-0403.html
Type: security
CVE: CVE-2022-26495, CVE-2022-26496

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Related News

Your message here