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.
https://www.oracle.com/security-alerts/cpuapr2022.html
https://www.oracle.com/security-alerts/cpuapr2020.html
https://www.openldap.org/lists/openldap-announce/201907/msg00001.html
https://www.openldap.org/its/index.cgi/?findid=9052
https://usn.ubuntu.com/4078-2/
https://usn.ubuntu.com/4078-1/
https://support.f5.com/csp/article/K98008862?utm_source=f5support&%3Butm_medium=RSS
https://support.apple.com/kb/HT210788
https://seclists.org/bugtraq/2019/Dec/23
https://lists.debian.org/debian-lts-announce/2019/08/msg00024.html
http://seclists.org/fulldisclosure/2019/Dec/26
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00058.html
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00053.html