ADVISORIES

GitHub Advisory Database

GHSA-xwmg-2g98-w7v9

Nimbus JOSE + JWT is vulnerable to DoS attacks when processing deeply nested JSON

Moderate CVE-2025-53864

Details

Connect2id Nimbus JOSE + JWT before 10.0.2 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.

Affected packages

EcosystemPackageAffected versions
Mavencom.nimbusds:nimbus-jose-jwt
From 9.38-rc1 before 10.0.2 (fixed in 10.0.2)
Mavencom.nimbusds:nimbus-jose-jwt
All versions before 9.37.4 (fixed in 9.37.4)

References