Fedora Account System
Red Hat Associate
Red Hat Customer
Title: Deeply nested JSON-B bodies cause large stack-trace logs in Quarkus REST Summary: A Quarkus REST endpoint that binds a JSON-B request body to a type allowing nesting (List<Object>, Map<String, Object>, a recursive class) fails with a 500 when it receives a deeply nested JSON document of only a few KB. Below Parsson's depth limit of 1000, Yasson can exhaust the thread stack (StackOverflowError). Above the limit, Parsson's rejection is not recognized as malformed input. In both cases, QuarkusErrorHandler logs the full stack trace at ERROR level, about 113 KB to 227 KB per 2 KB request. An unauthenticated client can therefore write log data at roughly 50 to 100 times the rate it sends requests, filling disks or overloading the log pipeline. Component: io.quarkus:quarkus-rest-jsonb CWE: CWE-674, CWE-779 Scoring: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (5.3/10) Affected versions: <3.40.1.1, <3.39.5, <3.33.4.1, <3.27.6.1