google/gson

google/gson

Releases67
Frequency3 months 1 week
Last Release
Stars24.2K
A Java serialization/deserialization library to convert Java Objects into JSON and back

CVE History

CVEPublishedCVSS v3CVSS v2
5.8 MEDIUM

Connect2id Nimbus JOSE + JWT 10.0.x before 10.0.2 and 9.37.x before 9.37.4 allows a remote attacker to cause a denial of service via a deeply nested JSON object supplied in a JWT claim set, because of uncontrolled recursion. NOTE: this is independent of the Gson 2.11.0 issue because the Connect2id product could have checked the JSON object nesting depth, regardless of what limits (if any) were imposed by Gson.

7.7 HIGH5 MEDIUM

The package com.google.code.gson:gson before 2.8.9 are vulnerable to Deserialization of Untrusted Data via the writeReplace() method in internal classes, which may lead to DoS attacks.