389-ds-base: 389-ds-base: remote code execution and denial of service via heap buffer overflow
Red Hat / Red Hat Directory Server 11.5 E4S for RHEL 8、Red Hat Directory Server 11.7 E4S for RHEL 8、Red Hat Directory Server 11.9 for RHEL 8、Red Hat Directory Server 12.2 E4S for RHEL 9、Red Hat Directory Server 12.4 EUS for RHEL 9、Red Hat Enterprise Linux 10 +20
A flaw was found in the 389-ds-base server. A heap buffer overflow vulnerability exists in the schema_attr_enum_callback function within the schema.c file. This occurs because the code incorrectly calculates the buffer size by summing alias string lengths without accounting for additional formatting characters. When a large number of aliases are processed, this oversight can lead to a heap overflow, potentially allowing a remote attacker to cause a Denial of Service (DoS) or achieve Remote Code Execution (RCE).