UBUNTU-CVE-2021-20277

Source
https://ubuntu.com/security/CVE-2021-20277
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20277.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-20277
Related
Published
2021-03-24T00:00:00Z
Modified
2021-03-24T00:00:00Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in Samba's libldb. Multiple, consecutive leading spaces in an LDAP attribute can lead to an out-of-bounds memory write, leading to a crash of the LDAP server process handling the request. The highest threat from this vulnerability is to system availability.

References

Affected packages

Ubuntu:Pro:14.04:LTS / ldb

Package

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

Affected ranges

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

Affected versions

1:1.*

1:1.1.15-1.1
1:1.1.16-1
1:1.1.16-1ubuntu0.1
1:1.1.24-0ubuntu0.14.04.1
1:1.1.24-0ubuntu0.14.04.2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "1:1.1.24-0ubuntu0.14.04.2+esm1",
            "binary_name": "ldb-tools"
        },
        {
            "binary_version": "1:1.1.24-0ubuntu0.14.04.2+esm1",
            "binary_name": "ldb-tools-dbgsym"
        },
        {
            "binary_version": "1:1.1.24-0ubuntu0.14.04.2+esm1",
            "binary_name": "libldb-dev"
        },
        {
            "binary_version": "1:1.1.24-0ubuntu0.14.04.2+esm1",
            "binary_name": "libldb1"
        },
        {
            "binary_version": "1:1.1.24-0ubuntu0.14.04.2+esm1",
            "binary_name": "libldb1-dbg"
        },
        {
            "binary_version": "1:1.1.24-0ubuntu0.14.04.2+esm1",
            "binary_name": "libldb1-dbgsym"
        },
        {
            "binary_version": "1:1.1.24-0ubuntu0.14.04.2+esm1",
            "binary_name": "python-ldb"
        },
        {
            "binary_version": "1:1.1.24-0ubuntu0.14.04.2+esm1",
            "binary_name": "python-ldb-dbg"
        },
        {
            "binary_version": "1:1.1.24-0ubuntu0.14.04.2+esm1",
            "binary_name": "python-ldb-dbgsym"
        },
        {
            "binary_version": "1:1.1.24-0ubuntu0.14.04.2+esm1",
            "binary_name": "python-ldb-dev"
        }
    ]
}

Ubuntu:16.04:LTS / ldb

Package

Name
ldb
Purl
pkg:deb/ubuntu/ldb?arch=src?distro=xenial

Affected ranges

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

Affected versions

2:1.*

2:1.1.20-2
2:1.1.21-1
2:1.1.23-1
2:1.1.23-1ubuntu1
2:1.1.24-1ubuntu1
2:1.1.24-1ubuntu3
2:1.1.24-1ubuntu3.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "2:1.1.24-1ubuntu3.2",
            "binary_name": "ldb-tools"
        },
        {
            "binary_version": "2:1.1.24-1ubuntu3.2",
            "binary_name": "ldb-tools-dbgsym"
        },
        {
            "binary_version": "2:1.1.24-1ubuntu3.2",
            "binary_name": "libldb-dev"
        },
        {
            "binary_version": "2:1.1.24-1ubuntu3.2",
            "binary_name": "libldb1"
        },
        {
            "binary_version": "2:1.1.24-1ubuntu3.2",
            "binary_name": "libldb1-dbg"
        },
        {
            "binary_version": "2:1.1.24-1ubuntu3.2",
            "binary_name": "libldb1-dbgsym"
        },
        {
            "binary_version": "2:1.1.24-1ubuntu3.2",
            "binary_name": "python-ldb"
        },
        {
            "binary_version": "2:1.1.24-1ubuntu3.2",
            "binary_name": "python-ldb-dbg"
        },
        {
            "binary_version": "2:1.1.24-1ubuntu3.2",
            "binary_name": "python-ldb-dev"
        },
        {
            "binary_version": "2:1.1.24-1ubuntu3.2",
            "binary_name": "python3-ldb"
        },
        {
            "binary_version": "2:1.1.24-1ubuntu3.2",
            "binary_name": "python3-ldb-dbg"
        },
        {
            "binary_version": "2:1.1.24-1ubuntu3.2",
            "binary_name": "python3-ldb-dev"
        }
    ]
}

Ubuntu:18.04:LTS / ldb

Package

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

Affected ranges

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

Affected versions

2:1.*

2:1.1.29-2
2:1.2.2-2
2:1.2.3-1
2:1.2.3-1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "2:1.2.3-1ubuntu0.2",
            "binary_name": "ldb-tools"
        },
        {
            "binary_version": "2:1.2.3-1ubuntu0.2",
            "binary_name": "ldb-tools-dbgsym"
        },
        {
            "binary_version": "2:1.2.3-1ubuntu0.2",
            "binary_name": "libldb-dev"
        },
        {
            "binary_version": "2:1.2.3-1ubuntu0.2",
            "binary_name": "libldb1"
        },
        {
            "binary_version": "2:1.2.3-1ubuntu0.2",
            "binary_name": "libldb1-dbgsym"
        },
        {
            "binary_version": "2:1.2.3-1ubuntu0.2",
            "binary_name": "python-ldb"
        },
        {
            "binary_version": "2:1.2.3-1ubuntu0.2",
            "binary_name": "python-ldb-dbgsym"
        },
        {
            "binary_version": "2:1.2.3-1ubuntu0.2",
            "binary_name": "python-ldb-dev"
        }
    ]
}

Ubuntu:20.04:LTS / ldb

Package

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

Affected ranges

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

Affected versions

2:1.*

2:1.5.5-0ubuntu2
2:1.5.5-0ubuntu3

2:2.*

2:2.0.7-4
2:2.0.8-1ubuntu1
2:2.0.8-2
2:2.0.10-0ubuntu0.20.04.1
2:2.0.10-0ubuntu0.20.04.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "2:2.0.10-0ubuntu0.20.04.3",
            "binary_name": "ldb-tools"
        },
        {
            "binary_version": "2:2.0.10-0ubuntu0.20.04.3",
            "binary_name": "ldb-tools-dbgsym"
        },
        {
            "binary_version": "2:2.0.10-0ubuntu0.20.04.3",
            "binary_name": "libldb-dev"
        },
        {
            "binary_version": "2:2.0.10-0ubuntu0.20.04.3",
            "binary_name": "libldb2"
        },
        {
            "binary_version": "2:2.0.10-0ubuntu0.20.04.3",
            "binary_name": "libldb2-dbgsym"
        },
        {
            "binary_version": "2:2.0.10-0ubuntu0.20.04.3",
            "binary_name": "python3-ldb"
        },
        {
            "binary_version": "2:2.0.10-0ubuntu0.20.04.3",
            "binary_name": "python3-ldb-dbgsym"
        },
        {
            "binary_version": "2:2.0.10-0ubuntu0.20.04.3",
            "binary_name": "python3-ldb-dev"
        }
    ]
}