{"id":"MGASA-2022-0403","summary":"Updated nbd packages fix security vulnerability","details":"It was discovered that nbd prior to 3.24 contained an integer overflow\nwith a resultant heap-based buffer overflow. A value of 0xffffffff in the\nname length field will cause a zero-sized buffer to be allocated for the\nname resulting in a write to a dangling pointer (CVE-2022-26495).\n\nStack-based buffer overflow. An attacker can cause a buffer overflow in\nthe parsing of the name field by sending a crafted NBD_OPT_INFO or\nNBD_OPT_GO message with an large value as the length of the name.\n(CVE-2022-26496)\n\nPackaging has been adjusted to create the required nbd user and group at\ninstallation.\n","modified":"2026-02-02T10:33:18.874878Z","published":"2022-11-01T22:58:59Z","related":["CVE-2022-26495","CVE-2022-26496"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2022-0403.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=30153"},{"type":"REPORT","url":"https://www.debian.org/lts/security/2022/dla-2944"},{"type":"REPORT","url":"https://www.debian.org/security/2022/dsa-5100"},{"type":"REPORT","url":"https://ubuntu.com/security/notices/USN-5323-1"},{"type":"REPORT","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/PU5JFD4PEJED72TZLZ5R2Q2SFXICU5I5/"},{"type":"REPORT","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/GY3FXWPGNBOFA2QZOFDFNU2AZJWYEW7A/"}],"affected":[{"package":{"name":"nbd","ecosystem":"Mageia:8","purl":"pkg:rpm/mageia/nbd?arch=source&distro=mageia-8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.24-1.2.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2022-0403.json"}}],"schema_version":"1.7.3","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}