The package com.google.code.gson:gson
before 2.8.9 is vulnerable to Deserialization of Untrusted Data via the writeReplace()
method in internal classes, which may lead to denial of service attacks.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25647
- https://github.com/google/gson/pull/1991
- https://github.com/google/gson/pull/1991/commits
- https://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327
- https://lists.debian.org/debian-lts-announce/2022/05/msg00015.html
- https://github.com/advisories/GHSA-4jrv-ppp4-jm57