A flaw was found in the ipa-enrollment SLAPI plugin. A remote authenticated client can exploit a null pointer dereference vulnerability by sending a malformed Lightweight Directory Access Protocol (LDAP) extended operation. By omitting the request value for the JOIN_OID in the ipa-enrollment extended operation, an attacker can trigger a server crash, potentially causing a denial of service.
Restrict network access to the LDAP service to trusted clients only. This can be achieved by configuring firewall rules to allow connections only from known, trusted IP addresses or subnets, thereby limiting the ability of authenticated attackers to send malformed extended operations. If host enrollment functionality is not required, disabling the ipa-enrollment SLAPI plugin can remove this attack surface.