{"id":"UBUNTU-CVE-2020-36221","details":"An integer underflow was discovered in OpenLDAP before 2.4.57 leading to slapd crashes in the Certificate Exact Assertion processing, resulting in denial of service (schema_init.c serialNumberAndIssuerCheck).","modified":"2026-04-22T12:40:51.571158Z","published":"2021-01-26T18:15:00Z","related":["USN-4724-1","USN-7698-1"],"upstream":["CVE-2020-36221"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-36221"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4724-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-36221"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7698-1"}],"affected":[{"package":{"name":"openldap","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/openldap@2.4.31-1+nmu2ubuntu8.5+esm7?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.31-1+nmu2ubuntu8.5+esm7"}]}],"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"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"ldap-utils","binary_version":"2.4.31-1+nmu2ubuntu8.5+esm7"},{"binary_name":"libldap-2.4-2","binary_version":"2.4.31-1+nmu2ubuntu8.5+esm7"},{"binary_name":"slapd","binary_version":"2.4.31-1+nmu2ubuntu8.5+esm7"},{"binary_name":"slapd-smbk5pwd","binary_version":"2.4.31-1+nmu2ubuntu8.5+esm7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36221.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_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":"slapd","binary_version":"2.4.42+dfsg-2ubuntu3.12"},{"binary_name":"slapd-smbk5pwd","binary_version":"2.4.42+dfsg-2ubuntu3.12"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36221.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_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":"slapd","binary_version":"2.4.45+dfsg-1ubuntu1.9"},{"binary_name":"slapd-smbk5pwd","binary_version":"2.4.45+dfsg-1ubuntu1.9"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36221.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_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":"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36221.json"}}],"schema_version":"1.7.5","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"}]}