Description
An issue was discovered in OpenLDAP 2.x before 2.4.48. When using SASL authentication and session encryption, and relying on the SASL security layers in slapd access controls, it is possible to obtain access that would otherwise be denied via a simple bind for any identity covered in those ACLs. After the first SASL bind is completed, the sasl_ssf value is retained for all new non-SASL connections. Depending on the ACL configuration, this can affect different types of operations (searches, modifications, etc.). In other words, a successful authorization step completed by one user affects the authorization requirement for a different user.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openldap | 2.4.48+dfsg-1 | — |
| Debian 13 | openldap | 2.4.48+dfsg-1 | — |
| Debian 12 | openldap | 2.4.48+dfsg-1 | — |
| Debian 8 | openldap | 2.4.40+dfsg-1+deb8u5 | DLA-1891-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | openldap | 2.4.45+dfsg-1ubuntu1.3 | USN-4078-1 |
| Ubuntu 16.04 LTS | openldap | 2.4.42+dfsg-2ubuntu3.6 | USN-4078-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | openldap | 2.4.31-1+nmu2ubuntu8.5+esm1 | USN-4078-2 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | openldap2 | 2.4.46-9.19.2 | SUSE-SU-2019:2395-1 |
| SLES 15 | openldap2 | 2.4.46-9.19.2 | SUSE-SU-2019:2395-1 |
| SLES 12 SP4 | openldap2 | 2.4.41-18.63.1 | SUSE-SU-2019:2390-1 |
| SLES 12 SP1 | openldap2 +1 | 2.4.41-18.24.17.1 | SUSE-SU-2020:1210-1 |
| SLES 12 | openldap2 | 2.4.41-18.24.17.1 | SUSE-SU-2020:1210-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 | openldap2-client-openssl1 | 2.4.26-0.74.6.1 | SUSE-SU-2020:14353-1 |
| SLES for SAP 12 SP5 | openldap2 | 2.4.41-18.24.17.1 | SUSE-SU-2020:1210-1 |
| SLES for SAP 12 SP4 | openldap2 | 2.4.41-18.24.17.1 | SUSE-SU-2020:1210-1, SUSE-SU-2019:2390-1 |
| SLES for SAP 12 SP3 | openldap2 | 2.4.41-18.24.17.1 | SUSE-SU-2020:1210-1 |
| SLES for SAP 12 SP2 | openldap2 | 2.4.41-18.24.17.1 | SUSE-SU-2020:1210-1 |
| SLES for SAP 12 SP1 | openldap2 +1 | 2.4.41-18.24.17.1 | SUSE-SU-2020:1210-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.1 | openldap2 | 2.4.46-lp151.10.3.1 | openSUSE-SU-2019:2157-1 |
| openSUSE Leap 15.0 | openldap2 | 2.4.46-lp150.13.1 | openSUSE-SU-2019:2176-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | openldap | 2.4.48-r0 | — |
| Alpine v3.23 | openldap | 2.4.48-r0 | — |
| Alpine v3.22 | openldap | 2.4.48-r0 | — |
| Alpine v3.21 | openldap | 2.4.48-r0 | — |
| Alpine v3.20 | openldap | 2.4.48-r0 | — |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | openldap | 2.4.48-r0 | — |
| Alpine v3.18 | openldap | 2.4.48-r0 | — |
| Alpine v3.17 | openldap | 2.4.48-r0 | — |
| Alpine v3.16 | openldap | 2.4.48-r0 | — |
| Alpine v3.15 | openldap | 2.4.48-r0 | — |
| Alpine v3.14 | openldap | 2.4.48-r0 | — |
| Alpine v3.13 | openldap | 2.4.48-r0 | — |
| Alpine v3.12 | openldap | 2.4.48-r0 | — |
| Alpine v3.11 | openldap | 2.4.48-r0 | — |
| Alpine v3.10 | openldap | 2.4.48-r0 | — |
| Alpine v3.9 | openldap | 2.4.48-r0 | — |
| Alpine v3.8 | openldap | 2.4.48-r0 | — |
| Alpine v3.7 | openldap | 2.4.48-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | openldap +4 | 2.4.44-25.amzn2.0.5 | ALAS2-2023-2033 |
Advisories 13
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- USN-4078-1 openldap vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-4078-2 openldap vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-1891-1 openldap - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2020:1210-1 Security update for openldap2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2395-1 Security update for openldap2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2390-1 Security update for openldap2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:14353-1 Security update for openldap2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2157-1 Security update for openldap2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2176-1 Security update for openldap2 SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- WID-SEC-2023-1128 OpenLDAP: Mehrere Schwachstellen ermöglichen Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Oct 14, 2024
- ALAS2-2023-2033 Important: openldap security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 2, 2023
References
- USN-4078-1 vendor-advisory
- [debian-lts-announce] 20190818 [SECURITY] [DLA 1891-1] openldap security update mailing-list
- USN-4078-2 vendor-advisory
- openSUSE-SU-2019:2157 vendor-advisory
- openSUSE-SU-2019:2176 vendor-advisory
- 20191211 APPLE-SA-2019-12-10-3 macOS Catalina 10.15.2, Security Update 2019-002 Mojave, Security Update 2019-007 High Sierra mailing-list
- 20191213 APPLE-SA-2019-12-10-3 macOS Catalina 10.15.2, Security Update 2019-002 Mojave, Security Update 2019-007 High Sierra mailing-list
- https://www.oracle.com/security-alerts/cpuapr2020.html
- [bookkeeper-issues] 20200729 [GitHub] [bookkeeper] padma81 opened a new issue #2387: Security vulnerabilities in the apache/bookkeeper-4.9.2 image mailing-list
- https://support.apple.com/kb/HT210788
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.openldap.org/lists/openldap-announce/201907/msg00001.html
- https://www.openldap.org/its/index.cgi/?findid=9052
- https://support.f5.com/csp/article/K98008862?utm_source=f5support&%3Butm_medium=RSS