Skip to content

fix: upgrade Nimbus JOSE JWT to 9.37.4 - #19807

Merged
FrankChen021 merged 2 commits into
apache:masterfrom
FrankChen021:codex/deps-nimbus-jose-jwt
Aug 4, 2026
Merged

fix: upgrade Nimbus JOSE JWT to 9.37.4#19807
FrankChen021 merged 2 commits into
apache:masterfrom
FrankChen021:codex/deps-nimbus-jose-jwt

Conversation

@FrankChen021

@FrankChen021 FrankChen021 commented Jul 30, 2026

Copy link
Copy Markdown
Member

What changed

Upgrade com.nimbusds:nimbus-jose-jwt from 9.37.3 to 9.37.4 in the druid-pac4j extension.

Why

Dependabot alert 438 reports CVE-2025-53864 / GHSA-xwmg-2g98-w7v9. Versions before 9.37.4 can 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 existing 9.37.x API 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 -T1C
  • mvn -ntp dependency:tree -pl extensions-core/druid-pac4j -Dincludes=com.nimbusds:nimbus-jose-jwt -Pskip-static-checks -Dweb.console.skip=true -DskipTests

@FrankChen021
FrankChen021 marked this pull request as ready for review July 30, 2026 14:47
Copilot AI review requested due to automatic review settings July 30, 2026 14:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-jwt from 9.37.3 to 9.37.4 in extensions-core/druid-pac4j.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread extensions-core/druid-pac4j/pom.xml
@FrankChen021 FrankChen021 changed the title Upgrade Nimbus JOSE JWT to 9.37.4 fix: upgrade Nimbus JOSE JWT to 9.37.4 Jul 30, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@FrankChen021 FrankChen021 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@FrankChen021
FrankChen021 merged commit 8b64bcc into apache:master Aug 4, 2026
29 checks passed
@FrankChen021
FrankChen021 deleted the codex/deps-nimbus-jose-jwt branch August 4, 2026 02:13
@github-actions github-actions Bot added this to the 39.0.0 milestone Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants