CVE-2023-5215

NameCVE-2023-5215
DescriptionA flaw was found in libnbd. A server can reply with a block size larger than 2^63 (the NBD spec states the size is a 64-bit unsigned value). This issue could lead to an application crash or other unintended behavior for NBD clients that doesn't treat the return value of the nbd_get_size() function correctly.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libnbd (PTS)bullseye1.6.1-1vulnerable
bookworm1.14.2-1vulnerable
trixie1.18.2-1fixed
sid1.20.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libnbdsource(unstable)1.16.5-1

Notes

[bookworm] - libnbd <no-dsa> (Minor issue)
[bullseye] - libnbd <no-dsa> (Minor issue)
https://listman.redhat.com/archives/libguestfs/2023-September/032635.html
Fixed by: https://gitlab.com/nbdkit/libnbd/-/commit/0f8ee8c6bd6dd93de771e6d4da87ec5a59504aae (v1.18.0)
Fixed by: https://gitlab.com/nbdkit/libnbd/-/commit/f03330181229360a1a97a264aa956fea54c657de (v1.16.5)

Search for package or bug name: Reporting problems