{"id":"UBUNTU-CVE-2021-27212","details":"In OpenLDAP through 2.4.57 and 2.5.x through 2.5.1alpha, an assertion failure in slapd can occur in the issuerAndThisUpdateCheck function via a crafted packet, resulting in a denial of service (daemon exit) via a short timestamp. This is related to schema_init.c and checkTime.","modified":"2026-04-22T14:39:44.592261Z","published":"2021-02-14T03:15:00Z","related":["USN-4744-1","USN-7713-1"],"upstream":["CVE-2021-27212"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-27212"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4744-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-27212"},{"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":{"binaries":[{"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":"slapd","binary_version":"2.4.31-1+nmu2ubuntu8.5+esm8"},{"binary_name":"slapd-smbk5pwd","binary_version":"2.4.31-1+nmu2ubuntu8.5+esm8"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-27212.json"}},{"package":{"name":"openldap","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/openldap@2.4.42+dfsg-2ubuntu3.13?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.42+dfsg-2ubuntu3.13"}]}],"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","2.4.42+dfsg-2ubuntu3.12"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.4.42+dfsg-2ubuntu3.13","binary_name":"ldap-utils"},{"binary_name":"libldap-2.4-2","binary_version":"2.4.42+dfsg-2ubuntu3.13"},{"binary_name":"slapd","binary_version":"2.4.42+dfsg-2ubuntu3.13"},{"binary_name":"slapd-smbk5pwd","binary_version":"2.4.42+dfsg-2ubuntu3.13"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-27212.json"}},{"package":{"name":"openldap","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/openldap@2.4.45+dfsg-1ubuntu1.10?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.45+dfsg-1ubuntu1.10"}]}],"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","2.4.45+dfsg-1ubuntu1.9"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"ldap-utils","binary_version":"2.4.45+dfsg-1ubuntu1.10"},{"binary_name":"libldap-2.4-2","binary_version":"2.4.45+dfsg-1ubuntu1.10"},{"binary_name":"libldap-common","binary_version":"2.4.45+dfsg-1ubuntu1.10"},{"binary_name":"slapd","binary_version":"2.4.45+dfsg-1ubuntu1.10"},{"binary_name":"slapd-smbk5pwd","binary_version":"2.4.45+dfsg-1ubuntu1.10"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-27212.json"}},{"package":{"name":"openldap","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/openldap@2.4.49+dfsg-2ubuntu1.7?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.49+dfsg-2ubuntu1.7"}]}],"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","2.4.49+dfsg-2ubuntu1.6"],"ecosystem_specific":{"binaries":[{"binary_name":"ldap-utils","binary_version":"2.4.49+dfsg-2ubuntu1.7"},{"binary_name":"libldap-2.4-2","binary_version":"2.4.49+dfsg-2ubuntu1.7"},{"binary_version":"2.4.49+dfsg-2ubuntu1.7","binary_name":"libldap-common"},{"binary_name":"slapd","binary_version":"2.4.49+dfsg-2ubuntu1.7"},{"binary_name":"slapd-contrib","binary_version":"2.4.49+dfsg-2ubuntu1.7"},{"binary_name":"slapd-smbk5pwd","binary_version":"2.4.49+dfsg-2ubuntu1.7"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-27212.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"}]}