The gson version 2.8.1 has some vulnerabilities https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25647 and https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15250 and it's recommended to update to the latest 2.11.0