Bug ID 1014573: Several large arrays/objects in JSON payload may core the enforcer

Last Modified: May 29, 2024

Affected Product(s):
BIG-IP ASM(all modules)

Fixed In:
17.1.0, 17.0.0.1, 16.1.3.1, 15.1.7, 14.1.5.1

Opened: Apr 27, 2021

Severity: 4-Minor

Symptoms

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.

Impact

Large enough arrays may cause performance decrease, in addition, the enforcer may crash.

Conditions

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.

Workaround

Set "Maximum Array Length" to a lower value than the requests array length.

Fix Information

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.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips