An issue was discovered in Kibana where a specially crafted request to an API endpoint can lead to the unbounded allocation of resources. An authenticated user with machine learning privileges can send a request containing a large number of items that cause the system to generate excessive internal objects. This exhausts available memory and can crash the Kibana process, resulting in a denial of service (DoS) for all users.
Upgrade Kibana versions 9.5.0 through 9.5.4 to 9.5.5.