Integer underflow in OpenLDAP - CVE-2020-36221
Published: January 26, 2021 / Updated: February 5, 2021
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to integer underflow within the serialNumberAndIssuerCheck() function in schema_init.c. A remote attacker can send a specially crafted request to the affected application, trigger an integer underflow and crash the slapd.
Affected software
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
HPE Helion Openstack
macOS
SUSE Linux Enterprise Server
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Module for Legacy Software
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Development Tools
SUSE Linux Enterprise Module for Basesystem
openEuler
Splunk Enterprise
openldap (Alpine package)
openldap (Debian package)
slapd (Ubuntu package)
openldap2-ppolicy-check-password
openldap2-ppolicy-check-password-debuginfo
compat-libldap-2_3-0
compat-libldap-2_3-0-debuginfo
openldap2-client-openssl1-debuginfo
libldap-2_4-2-32bit
openldap2-client-openssl1-debugsource
openldap2-debugsource
openldap2-debuginfo
openldap2-client-debugsource
openldap2-client-debuginfo
libldap-openssl1-2_4-2-x86
libldap-openssl1-2_4-2-32bit
openldap2-openssl1
openldap2-client-openssl1
libldap-openssl1-2_4-2
openldap2-client
openldap2-back-meta
openldap2
libldap-2_4-2
openldap
libldap-2_4-2-debuginfo-32bit
openldap2-back-meta-debuginfo
openldap2-devel-static
openldap2-back-perl
openldap2-back-perl-debuginfo
openldap2-devel
libldap-2_4-2-debuginfo
openldap2-doc
libldap-data
libldap-2_4-2-32bit-debuginfo
openldap2-devel-32bit
openldap-servers
openldap-debugsource
openldap-debuginfo
openldap-clients
openldap-devel
openldap-help
Dell EMC Storage Monitoring and Reporting (SMR)
Dell EMC Unity Operating Environment (OE)
Dell EMC Unity VSA Operating Environment (OE)
Dell EMC Unity XT Operating Environment (OE)
Dell EMC VxRail Appliance
How to mitigate CVE-2020-36221
Splunk Enterprise - addressed in versions 9.1.6, 9.2.3, 9.3.1
macOS - addressed in versions 10.14.6 18G9216, 10.15.7 19H1217, 11.4 20F71
openldap (Alpine package) - update to 2.4.57-r0
openldap (Debian package) - update to 2.4.47+dfsg-3+deb10u5
slapd (Ubuntu package) - addressed in versions 2.4.31-1+nmu2ubuntu8.5+esm7, 2.4.42+dfsg-2ubuntu3.12, 2.4.45+dfsg-1ubuntu1.9, 2.4.49+dfsg-2ubuntu1.6, 2.4.53+dfsg-1ubuntu1.3
openldap2-ppolicy-check-password - addressed in versions 1.2-9.48.1, 1.2-18.83.1
openldap2-ppolicy-check-password-debuginfo - addressed in versions 1.2-9.48.1, 1.2-18.83.1
compat-libldap-2_3-0 - addressed in versions 2.3.37-2.74.26.1, 2.3.37-39.1
compat-libldap-2_3-0-debuginfo - update to 2.3.37-39.1
openldap2-client-openssl1-debuginfo - update to 2.4.26-0.74.26.1
libldap-2_4-2-32bit - addressed in versions 2.4.26-0.74.26.1, 2.4.41-18.83.1, 2.4.46-9.48.1
openldap2-client-openssl1-debugsource - update to 2.4.26-0.74.26.1
openldap2-debugsource - addressed in versions 2.4.26-0.74.26.1, 2.4.41-18.83.1, 2.4.46-9.48.1
openldap2-debuginfo - addressed in versions 2.4.26-0.74.26.1, 2.4.41-18.83.1, 2.4.46-9.48.1
openldap2-client-debugsource - update to 2.4.26-0.74.26.1
openldap2-client-debuginfo - addressed in versions 2.4.26-0.74.26.1, 2.4.41-18.83.1, 2.4.46-9.48.1
libldap-openssl1-2_4-2-x86 - update to 2.4.26-0.74.26.1
libldap-openssl1-2_4-2-32bit - update to 2.4.26-0.74.26.1
openldap2-openssl1 - update to 2.4.26-0.74.26.1
openldap2-client-openssl1 - update to 2.4.26-0.74.26.1
libldap-openssl1-2_4-2 - update to 2.4.26-0.74.26.1
openldap2-client - addressed in versions 2.4.26-0.74.26.1, 2.4.41-18.83.1, 2.4.46-9.48.1
openldap2-back-meta - addressed in versions 2.4.26-0.74.26.1, 2.4.41-18.83.1, 2.4.46-9.48.1
openldap2 - addressed in versions 2.4.26-0.74.26.1, 2.4.41-18.83.1, 2.4.46-9.48.1
libldap-2_4-2 - addressed in versions 2.4.26-0.74.26.1, 2.4.41-18.83.1, 2.4.46-9.48.1
openldap - update to 2.4.40-16.36
libldap-2_4-2-debuginfo-32bit - update to 2.4.41-18.83.1
openldap2-back-meta-debuginfo - addressed in versions 2.4.41-18.83.1, 2.4.46-9.48.1
openldap2-devel-static - addressed in versions 2.4.41-18.83.1, 2.4.46-9.48.1
openldap2-back-perl - addressed in versions 2.4.41-18.83.1, 2.4.46-9.48.1
openldap2-back-perl-debuginfo - addressed in versions 2.4.41-18.83.1, 2.4.46-9.48.1
openldap2-devel - addressed in versions 2.4.41-18.83.1, 2.4.46-9.48.1
libldap-2_4-2-debuginfo - addressed in versions 2.4.41-18.83.1, 2.4.46-9.48.1
openldap2-doc - update to 2.4.41-18.83.1
libldap-data - update to 2.4.46-9.48.1
libldap-2_4-2-32bit-debuginfo - update to 2.4.46-9.48.1
openldap2-devel-32bit - update to 2.4.46-9.48.1
openldap - update to 2.4.50-3
openldap-servers - update to 2.4.50-3
openldap-debugsource - update to 2.4.50-3
openldap-debuginfo - update to 2.4.50-3
openldap-clients - update to 2.4.50-3
openldap-devel - update to 2.4.50-3
openldap-help - update to 2.4.50-3
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.6.0.0
Dell EMC Unity Operating Environment (OE) - update to 5.1.2.0.5.007
Dell EMC Unity VSA Operating Environment (OE) - update to 5.1.2.0.5.007
Dell EMC Unity XT Operating Environment (OE) - update to 5.1.2.0.5.007
Dell EMC VxRail Appliance - update to 7.0.240
External References
- https://bugs.openldap.org/show_bug.cgi?id=9404
- https://bugs.openldap.org/show_bug.cgi?id=9424
- https://git.openldap.org/openldap/openldap/-/commit/38ac838e4150c626bbfa0082b7e2cf3a2bb4df31
- https://git.openldap.org/openldap/openldap/-/commit/58c1748e81c843c5b6e61648d2a4d1d82b47e842
- https://git.openldap.org/openldap/openldap/-/tags/OPENLDAP_REL_ENG_2_4_57
- https://lists.debian.org/debian-lts-announce/2021/02/msg00005.html
- https://www.debian.org/security/2021/dsa-4845
Related Security Bulletins
- Multiple vulnerabilities in OpenLDAP
- Debian update for openldap
- Integer underflow in openldap (Alpine package)
- Multiple vulnerabilities in Apple macOS Big Sur
- Multiple vulnerabilities in Apple macOS Mojave
- Multiple vulnerabilities in Apple macOS Catalina
- Multiple vulnerabilities in Dell EMC VxRail Appliance
- Multiple vulnerabilities in Dell EMC Unity
- SUSE update for openldap2
- Ubuntu update for openldap
- Multiple vulnerabilities in Dell Storage Monitoring and Reporting (SMR)
- SUSE update for openldap2
- SUSE update for openldap2
- SUSE update for openldap2
- Amazon Linux AMI update for openldap
- openEuler update for openldap
- Splunk Enterprise update for third-party components
- Ubuntu update for openldap