com.google.code.gson:gson@2.8.1 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the com.google.code.gson:gson package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Deserialization of Untrusted Data

Affected versions of this package are vulnerable to Deserialization of Untrusted Data via the writeReplace() method in internal classes, which may allow a denial of service attack if combined with another exploit.

How to fix Deserialization of Untrusted Data?

Upgrade com.google.code.gson:gson to version 2.8.9 or higher.

[2.2.3,2.8.9)