Red Hat Lightwell has released com.google.code.gson:gson 2.8.6.rhlw-00002 with a backported security fix.
CVE-2022-25647: Deserialization of Untrusted Data
This patched artifact is a drop-in replacement for com.google.code.gson:gson 2.8.6 from Maven Central.