UBUNTU-CVE-2023-5215

Source
https://ubuntu.com/security/CVE-2023-5215
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-5215.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-5215
Upstream
Published
2023-09-28T14:15:00Z
Modified
2026-05-20T16:13:56Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A 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.

References

Affected packages

Ubuntu:20.04:LTS / libnbd

Package

Name
libnbd
Purl
pkg:deb/ubuntu/libnbd?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.3-1
1.2.1-2
1.2.2-1ubuntu2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libnbd-ocaml",
            "binary_version": "1.2.2-1ubuntu2"
        },
        {
            "binary_name": "libnbd0",
            "binary_version": "1.2.2-1ubuntu2"
        },
        {
            "binary_name": "nbdfuse",
            "binary_version": "1.2.2-1ubuntu2"
        },
        {
            "binary_name": "python3-libnbd",
            "binary_version": "1.2.2-1ubuntu2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-5215.json"

Ubuntu:22.04:LTS / libnbd

Package

Name
libnbd
Purl
pkg:deb/ubuntu/libnbd?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.6.3-1
1.8.5-1
1.10.2-1
1.10.5-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libnbd-bin",
            "binary_version": "1.10.5-1"
        },
        {
            "binary_name": "libnbd-ocaml",
            "binary_version": "1.10.5-1"
        },
        {
            "binary_name": "libnbd0",
            "binary_version": "1.10.5-1"
        },
        {
            "binary_name": "python3-libnbd",
            "binary_version": "1.10.5-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-5215.json"

Ubuntu:24.04:LTS / libnbd

Package

Name
libnbd
Purl
pkg:deb/ubuntu/libnbd?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.16.4-1
1.18.1-1
1.18.2-1
1.18.2-1build1
1.18.2-2
1.18.2-2build1
1.20.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libnbd-bin",
            "binary_version": "1.20.0-1"
        },
        {
            "binary_name": "libnbd-ocaml",
            "binary_version": "1.20.0-1"
        },
        {
            "binary_name": "libnbd0",
            "binary_version": "1.20.0-1"
        },
        {
            "binary_name": "python3-libnbd",
            "binary_version": "1.20.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-5215.json"

Ubuntu:25.10 / libnbd

Package

Name
libnbd
Purl
pkg:deb/ubuntu/libnbd?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.22.0-1
1.22.2-1build1
1.22.2-1build2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libnbd-bin",
            "binary_version": "1.22.2-1build2"
        },
        {
            "binary_name": "libnbd-ocaml",
            "binary_version": "1.22.2-1build2"
        },
        {
            "binary_name": "libnbd0",
            "binary_version": "1.22.2-1build2"
        },
        {
            "binary_name": "python3-libnbd",
            "binary_version": "1.22.2-1build2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-5215.json"

Ubuntu:26.04:LTS / libnbd

Package

Name
libnbd
Purl
pkg:deb/ubuntu/libnbd?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.22.2-1build2
1.24.0-2ubuntu1
1.24.1-1ubuntu6
1.24.2-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libnbd-bin",
            "binary_version": "1.24.2-1ubuntu1"
        },
        {
            "binary_name": "libnbd-ocaml",
            "binary_version": "1.24.2-1ubuntu1"
        },
        {
            "binary_name": "libnbd0",
            "binary_version": "1.24.2-1ubuntu1"
        },
        {
            "binary_name": "python3-libnbd",
            "binary_version": "1.24.2-1ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-5215.json"