{"id":"UBUNTU-CVE-2020-36230","details":"A flaw was discovered in OpenLDAP before 2.4.57 leading in an assertion failure in slapd in the X.509 DN parsing in decode.c ber_next_element, resulting in denial of service.","modified":"2026-02-04T04:37:50.197994Z","published":"2021-01-26T18:15:00Z","related":["USN-4724-1","USN-7713-1"],"upstream":["CVE-2020-36230"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-36230"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4724-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-36230"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7713-1"}],"affected":[{"package":{"name":"openldap","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/openldap@2.4.31-1+nmu2ubuntu8.5+esm8?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.31-1+nmu2ubuntu8.5+esm8"}]}],"versions":["2.4.31-1+nmu2ubuntu3","2.4.31-1+nmu2ubuntu4","2.4.31-1+nmu2ubuntu5","2.4.31-1+nmu2ubuntu8","2.4.31-1+nmu2ubuntu8.1","2.4.31-1+nmu2ubuntu8.2","2.4.31-1+nmu2ubuntu8.3","2.4.31-1+nmu2ubuntu8.4","2.4.31-1+nmu2ubuntu8.5","2.4.31-1+nmu2ubuntu8.5+esm1","2.4.31-1+nmu2ubuntu8.5+esm2","2.4.31-1+nmu2ubuntu8.5+esm3","2.4.31-1+nmu2ubuntu8.5+esm4","2.4.31-1+nmu2ubuntu8.5+esm5","2.4.31-1+nmu2ubuntu8.5+esm6","2.4.31-1+nmu2ubuntu8.5+esm7"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_version":"2.4.31-1+nmu2ubuntu8.5+esm8","binary_name":"ldap-utils"},{"binary_version":"2.4.31-1+nmu2ubuntu8.5+esm8","binary_name":"libldap-2.4-2"},{"binary_version":"2.4.31-1+nmu2ubuntu8.5+esm8","binary_name":"libldap2-dev"},{"binary_version":"2.4.31-1+nmu2ubuntu8.5+esm8","binary_name":"slapd"},{"binary_version":"2.4.31-1+nmu2ubuntu8.5+esm8","binary_name":"slapd-smbk5pwd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36230.json"}},{"package":{"name":"openldap","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/openldap@2.4.42+dfsg-2ubuntu3.12?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.42+dfsg-2ubuntu3.12"}]}],"versions":["2.4.41+dfsg-1ubuntu2","2.4.41+dfsg-1ubuntu3","2.4.42+dfsg-2ubuntu1","2.4.42+dfsg-2ubuntu3","2.4.42+dfsg-2ubuntu3.1","2.4.42+dfsg-2ubuntu3.2","2.4.42+dfsg-2ubuntu3.3","2.4.42+dfsg-2ubuntu3.4","2.4.42+dfsg-2ubuntu3.5","2.4.42+dfsg-2ubuntu3.6","2.4.42+dfsg-2ubuntu3.7","2.4.42+dfsg-2ubuntu3.8","2.4.42+dfsg-2ubuntu3.9","2.4.42+dfsg-2ubuntu3.10","2.4.42+dfsg-2ubuntu3.11"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.4.42+dfsg-2ubuntu3.12","binary_name":"ldap-utils"},{"binary_version":"2.4.42+dfsg-2ubuntu3.12","binary_name":"libldap-2.4-2"},{"binary_version":"2.4.42+dfsg-2ubuntu3.12","binary_name":"libldap2-dev"},{"binary_version":"2.4.42+dfsg-2ubuntu3.12","binary_name":"slapd"},{"binary_version":"2.4.42+dfsg-2ubuntu3.12","binary_name":"slapd-smbk5pwd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36230.json"}},{"package":{"name":"openldap","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/openldap@2.4.45+dfsg-1ubuntu1.9?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.45+dfsg-1ubuntu1.9"}]}],"versions":["2.4.45+dfsg-1ubuntu1","2.4.45+dfsg-1ubuntu1.1","2.4.45+dfsg-1ubuntu1.2","2.4.45+dfsg-1ubuntu1.3","2.4.45+dfsg-1ubuntu1.4","2.4.45+dfsg-1ubuntu1.5","2.4.45+dfsg-1ubuntu1.6","2.4.45+dfsg-1ubuntu1.7","2.4.45+dfsg-1ubuntu1.8"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.4.45+dfsg-1ubuntu1.9","binary_name":"ldap-utils"},{"binary_version":"2.4.45+dfsg-1ubuntu1.9","binary_name":"libldap-2.4-2"},{"binary_version":"2.4.45+dfsg-1ubuntu1.9","binary_name":"libldap-common"},{"binary_version":"2.4.45+dfsg-1ubuntu1.9","binary_name":"libldap2-dev"},{"binary_version":"2.4.45+dfsg-1ubuntu1.9","binary_name":"slapd"},{"binary_version":"2.4.45+dfsg-1ubuntu1.9","binary_name":"slapd-smbk5pwd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36230.json"}},{"package":{"name":"openldap","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/openldap@2.4.49+dfsg-2ubuntu1.6?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.49+dfsg-2ubuntu1.6"}]}],"versions":["2.4.48+dfsg-1ubuntu1","2.4.48+dfsg-1ubuntu2","2.4.48+dfsg-1ubuntu3","2.4.48+dfsg-1ubuntu4","2.4.49+dfsg-1ubuntu1","2.4.49+dfsg-2ubuntu1","2.4.49+dfsg-2ubuntu1.2","2.4.49+dfsg-2ubuntu1.3","2.4.49+dfsg-2ubuntu1.4","2.4.49+dfsg-2ubuntu1.5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.4.49+dfsg-2ubuntu1.6","binary_name":"ldap-utils"},{"binary_version":"2.4.49+dfsg-2ubuntu1.6","binary_name":"libldap-2.4-2"},{"binary_version":"2.4.49+dfsg-2ubuntu1.6","binary_name":"libldap-common"},{"binary_version":"2.4.49+dfsg-2ubuntu1.6","binary_name":"libldap2-dev"},{"binary_version":"2.4.49+dfsg-2ubuntu1.6","binary_name":"slapd"},{"binary_version":"2.4.49+dfsg-2ubuntu1.6","binary_name":"slapd-contrib"},{"binary_version":"2.4.49+dfsg-2ubuntu1.6","binary_name":"slapd-smbk5pwd"},{"binary_version":"2.4.49+dfsg-2ubuntu1.6","binary_name":"slapi-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36230.json"}}],"schema_version":"1.7.3","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":"Ubuntu","score":"medium"}]}