Last Modified: Sep 13, 2023
17.1.0, 22.214.171.124, 126.96.36.199, 15.1.7, 188.8.131.52
Opened: Apr 27, 2021 Severity: 4-Minor
Requests with JSON payload that consists of more than one object with elements, such as a couple of large arrays, may cause the enforcer to crash.
Large enough arrays may cause performance decrease, in addition, the enforcer may crash.
Each of the objects/arrays in JSON payload has to consist lesser amount of elements than defined in the "Maximum Array Length" JSON profile attribute.
Set "Maximum Array Length" to a lower value than the requests array length.
Added internal param "count_overall_child_elements_in_json" to control "Maximum Array/Object Elements" behaviour: 0 (default) - retain current behaviour (check max elements in each array/object separately); 1 - count overall elements in all arrays/objects.