Closed
Description
Fix included in
- 2.13.4
- 2.12.7.1 micro-patch (jackson-bom 2.12.7.20221012)
(note: found by oss-fuzz, see: https://bugs.chromium.org/p/oss-fuzz/issues)
Currently feature DeserializationFeature.UNWRAP_SINGLE_VALUE_ARRAYS
is supported by most types, and deserializers tend to implement support using recursion, effectively allowing multiple nested layers of JSON Arrays to be unwrapped.
This is not a feature to support but just an implementation detail; ideally we should only allow a single JSON Array to wrap a value.
I think I have removed ability for deeper nesting from some other types so there may be some prior art.