VDB
Sign up
MEDIUM5.8

GHSA-xwmg-2g98-w7v9

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

Quick fix

GHSA-xwmg-2g98-w7v9 — com.nimbusds:nimbus-jose-jwt: upgrade to the fixed version with the command below.

# pom.xml: bump <version>10.0.2</version> for com.nimbusds:nimbus-jose-jwt

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/com.nimbusds:nimbus-jose-jwt
Introduced in: 9.38-rc1Fixed in: 10.0.2
Fix# pom.xml: bump <version>10.0.2</version> for com.nimbusds:nimbus-jose-jwt
Maven/com.nimbusds:nimbus-jose-jwt
Introduced in: 0Fixed in: 9.37.4
Fix# pom.xml: bump <version>9.37.4</version> for com.nimbusds:nimbus-jose-jwt

References