Description
An infinite recursion is triggered in Jettison when constructing a JSONArray from a Collection that contains a self-reference in one of its elements. This leads to a StackOverflowError exception being thrown.
Remediation
References
https://research.jfrog.com/vulnerabilities/jettison-json-array-dos-xray-427911/