title: Infinite recursion in Jettison leads to denial of service when creating a crafted JSONArray
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.
problem types: CWE-674 Uncontrolled Recursion
affected:
{
collectionURL: https://mvnrepository.com
vendor: jettison
product: jettison
packageName: org.codehaus.jettison:jettison
versions:
lessThan: 1.5.4, status: affected, version: 0, versionType: maven
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 5.9
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: NONE
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
version: 3.1
]
format: CVSS
scenarios: GENERAL