UBUNTU-CVE-2022-26495

Source
https://ubuntu.com/security/CVE-2022-26495
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26495.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-26495
Related
Published
2022-03-06T06:15:00Z
Modified
2024-10-15T14:09:51Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 NBDOPTINFO, NBDOPTGO, and NBDOPTEXPORT_NAME messages.

References

Affected packages

Ubuntu:Pro:14.04:LTS / nbd

Package

Name
nbd
Purl
pkg:deb/ubuntu/nbd?arch=src?distro=trusty/esm

Affected ranges

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

Affected versions

1:3.*

1:3.3-3ubuntu1
1:3.4-1ubuntu1
1:3.4-2ubuntu1
1:3.5-1ubuntu1
1:3.6-1ubuntu1
1:3.7-1
1:3.7-1ubuntu0.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / nbd

Package

Name
nbd
Purl
pkg:deb/ubuntu/nbd?arch=src?distro=esm-infra/xenial

Affected ranges

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

Affected versions

1:3.*

1:3.10-1
1:3.13-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:18.04:LTS / nbd

Package

Name
nbd
Purl
pkg:deb/ubuntu/nbd?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:3.16.2-1ubuntu0.2

Affected versions

1:3.*

1:3.15.2-3
1:3.16.2-1
1:3.16.2-1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:3.16.2-1ubuntu0.2",
            "binary_name": "nbd-client"
        },
        {
            "binary_version": "1:3.16.2-1ubuntu0.2",
            "binary_name": "nbd-client-dbgsym"
        },
        {
            "binary_version": "1:3.16.2-1ubuntu0.2",
            "binary_name": "nbd-client-udeb"
        },
        {
            "binary_version": "1:3.16.2-1ubuntu0.2",
            "binary_name": "nbd-server"
        },
        {
            "binary_version": "1:3.16.2-1ubuntu0.2",
            "binary_name": "nbd-server-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / nbd

Package

Name
nbd
Purl
pkg:deb/ubuntu/nbd?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:3.20-1ubuntu0.1

Affected versions

1:3.*

1:3.19-3
1:3.20-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:3.20-1ubuntu0.1",
            "binary_name": "nbd-client"
        },
        {
            "binary_version": "1:3.20-1ubuntu0.1",
            "binary_name": "nbd-client-dbgsym"
        },
        {
            "binary_version": "1:3.20-1ubuntu0.1",
            "binary_name": "nbd-client-udeb"
        },
        {
            "binary_version": "1:3.20-1ubuntu0.1",
            "binary_name": "nbd-server"
        },
        {
            "binary_version": "1:3.20-1ubuntu0.1",
            "binary_name": "nbd-server-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / nbd

Package

Name
nbd
Purl
pkg:deb/ubuntu/nbd?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:3.23-3ubuntu1

Affected versions

1:3.*

1:3.21-1build3
1:3.22-1
1:3.23-3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:3.23-3ubuntu1",
            "binary_name": "nbd-client"
        },
        {
            "binary_version": "1:3.23-3ubuntu1",
            "binary_name": "nbd-client-dbgsym"
        },
        {
            "binary_version": "1:3.23-3ubuntu1",
            "binary_name": "nbd-server"
        },
        {
            "binary_version": "1:3.23-3ubuntu1",
            "binary_name": "nbd-server-dbgsym"
        }
    ]
}