CVE-2019-13565
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | openldap | Fixed | 2.4.45+dfsg-1ubuntu1.3 | UBUNTU-CVE-2019-13565 |
| Ubuntu 16.04 | openldap | Fixed | 2.4.42+dfsg-2ubuntu3.6 | UBUNTU-CVE-2019-13565 |
| Ubuntu 14.04 | openldap | Fix pending | 2.4.31-1+nmu2ubuntu8.5+esm1 (Ubuntu Pro) | UBUNTU-CVE-2019-13565 |
| Debian 14 | openldap | Fixed | 2.4.48+dfsg-1 | DEBIAN-CVE-2019-13565 |
| Debian 13 | openldap | Fixed | 2.4.48+dfsg-1 | DEBIAN-CVE-2019-13565 |
| Debian 12 | openldap | Fixed | 2.4.48+dfsg-1 | DEBIAN-CVE-2019-13565 |
| Red Hat Enterprise Linux 8 | openldap | Not affected | ||
| Red Hat Enterprise Linux 8 | openldap-clients | Not affected | ||
| Red Hat Enterprise Linux 8 | openldap-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | openldap-servers | Not affected | ||
| Red Hat Enterprise Linux 7 | compat-openldap | Not affected | ||
| Red Hat Enterprise Linux 7 | openldap | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | openldap-clients | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | openldap-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | openldap-servers | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | openldap-servers-sql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | compat-openldap | Not affected | ||
| Red Hat Enterprise Linux 6 | openldap | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openldap-clients | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openldap-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openldap-servers | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openldap-servers-sql | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 5 | openldap | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.23 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.22 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.21 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.20 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.19 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.18 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.17 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.16 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.15 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.14 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.13 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.12 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.11 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.10 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.9 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.8 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
| Alpine Linux 3.7 | openldap | Fixed | 2.4.48-r0 | ALPINE-CVE-2019-13565 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://usn.ubuntu.com/4078-1/ (vendor-advisory)
- https://usn.ubuntu.com/4078-2/ (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00053.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00058.html (vendor-advisory)
References
- https://usn.ubuntu.com/4078-1/
- https://lists.debian.org/debian-lts-announce/2019/08/msg00024.html
- https://usn.ubuntu.com/4078-2/
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00053.html
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00058.html
- https://seclists.org/bugtraq/2019/Dec/23
- http://seclists.org/fulldisclosure/2019/Dec/26
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0%40%3Cissues.bookkeeper.apache.org%3E
- https://support.apple.com/kb/HT210788
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.