fix: upgrade Nimbus JOSE JWT to 9.37.4 - #19807
Merged
FrankChen021 merged 2 commits intoAug 4, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the druid-pac4j extension’s pinned Nimbus JOSE JWT dependency to the first patched release on the existing 9.37.x line, addressing a reported denial-of-service vulnerability related to deeply nested JSON parsing.
Changes:
- Bumped
com.nimbusds:nimbus-jose-jwtfrom9.37.3to9.37.4inextensions-core/druid-pac4j.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
FrankChen021
commented
Aug 2, 2026
FrankChen021
left a comment
Member
Author
There was a problem hiding this comment.
Reviewed 2 of 2 changed files. No actionable findings; the Nimbus JOSE JWT 9.37.4 pin and matching license metadata consistently remediate the stated CVE.
This is an automated review by Codex GPT-5.6-Sol
GWphua
approved these changes
Aug 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Upgrade
com.nimbusds:nimbus-jose-jwtfrom9.37.3to9.37.4in thedruid-pac4jextension.Why
Dependabot alert 438 reports CVE-2025-53864 / GHSA-xwmg-2g98-w7v9. Versions before
9.37.4can consume excessive resources when parsing deeply nested JSON, allowing a denial-of-service attack.The vulnerable version is pinned directly in
extensions-core/druid-pac4j/pom.xml. This change uses the first patched release and stays on the existing9.37.xAPI line, minimizing compatibility risk.Impact
JWT parsing and OpenID Connect authentication use the patched Nimbus implementation. No Druid configuration or API changes are required.
Tests
mvn -ntp test -pl extensions-core/druid-pac4j -am -Dtest="org.apache.druid.security.pac4j.JwtAuthenticatorTest" -Dsurefire.failIfNoSpecifiedTests=false -Pskip-static-checks -Dweb.console.skip=true -T1Cmvn -ntp dependency:tree -pl extensions-core/druid-pac4j -Dincludes=com.nimbusds:nimbus-jose-jwt -Pskip-static-checks -Dweb.console.skip=true -DskipTests