Apache DERBY-7147 backport for CVE-2022-46337. Base 10.16.1.1. See security/patches/derby-7147 in Connect Hub source.
