Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in 389-ds-base. The Content Synchronization plugin computes the number of changelog entries to return to a sync client by subtracting two 64-bit cookie values and storing the result in a 32-bit signed integer. When the retro changelog's change counter has advanced far enough past the value in a client-supplied sync cookie, this computation can overflow and produce a negative count, which is then passed as an unsigned element count to the memory allocator. The resulting allocation request is implausibly large, fails, and the directory server process terminates. This issue only applies when both the Content Synchronization and Retro Changelog plugins are explicitly enabled; both are disabled by default.