High, CVSS 7.7MavenPublished
Deserialization of Untrusted Data in Gson
CVE-2022-25647 · GHSA-4jrv-ppp4-jm57
- Affected
- Maven com.google.code.gson:gson < 2.8.9
- Fixed in
- 2.8.9· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 2.8.9 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.