{"id":"USN-4888-1","summary":"ldb vulnerabilities","details":"Douglas Bagnall discovered that ldb, when used with Samba, incorrectly\nhandled certain LDAP attributes. A remote attacker could possibly use this\nissue to cause the LDAP server to crash, resulting in a denial of service.\n(CVE-2021-20277)\n\nDouglas Bagnall discovered that ldb, when used with Samba, incorrectly\nhandled certain DN strings. A remote attacker could use this issue to\ncause the LDAP server to crash, resulting in a denial of service, or\npossibly execute arbitrary code. (CVE-2020-27840)\n","modified":"2026-04-22T10:26:29.411873Z","published":"2021-03-24T18:08:35Z","related":["UBUNTU-CVE-2020-27840","UBUNTU-CVE-2021-20277"],"upstream":["CVE-2020-27840","CVE-2021-20277","UBUNTU-CVE-2020-27840","UBUNTU-CVE-2021-20277"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4888-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-27840"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20277"}],"affected":[{"package":{"name":"ldb","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ldb@2:1.1.24-1ubuntu3.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.1.24-1ubuntu3.2"}]}],"versions":["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":{"binaries":[{"binary_name":"ldb-tools","binary_version":"2:1.1.24-1ubuntu3.2"},{"binary_name":"libldb1","binary_version":"2:1.1.24-1ubuntu3.2"},{"binary_name":"python-ldb","binary_version":"2:1.1.24-1ubuntu3.2"},{"binary_name":"python3-ldb","binary_version":"2:1.1.24-1ubuntu3.2"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"high"}],"id":"CVE-2020-27840"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"high"}],"id":"CVE-2021-20277"}],"ecosystem":"Ubuntu:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4888-1.json"}},{"package":{"name":"ldb","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ldb@2:1.2.3-1ubuntu0.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.2.3-1ubuntu0.2"}]}],"versions":["2:1.1.29-2","2:1.2.2-2","2:1.2.3-1","2:1.2.3-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"ldb-tools","binary_version":"2:1.2.3-1ubuntu0.2"},{"binary_name":"libldb1","binary_version":"2:1.2.3-1ubuntu0.2"},{"binary_name":"python-ldb","binary_version":"2:1.2.3-1ubuntu0.2"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"high"}],"id":"CVE-2020-27840"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"high"}],"id":"CVE-2021-20277"}],"ecosystem":"Ubuntu:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4888-1.json"}},{"package":{"name":"ldb","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ldb@2:2.0.10-0ubuntu0.20.04.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:2.0.10-0ubuntu0.20.04.3"}]}],"versions":["2:1.5.5-0ubuntu2","2:1.5.5-0ubuntu3","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":{"binaries":[{"binary_name":"ldb-tools","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":"python3-ldb","binary_version":"2:2.0.10-0ubuntu0.20.04.3"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"high"}],"id":"CVE-2020-27840"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"high"}],"id":"CVE-2021-20277"}],"ecosystem":"Ubuntu:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4888-1.json"}}],"schema_version":"1.7.5"}