Skip to content

[GHSA-xwmg-2g98-w7v9] Nimbus JOSE + JWT is vulnerable to DoS attacks when processing deeply nested JSON#7276

Closed
andy-may-at wants to merge 1 commit intoandy-may-at/advisory-improvement-7276from
andy-may-at-GHSA-xwmg-2g98-w7v9
Closed

[GHSA-xwmg-2g98-w7v9] Nimbus JOSE + JWT is vulnerable to DoS attacks when processing deeply nested JSON#7276
andy-may-at wants to merge 1 commit intoandy-may-at/advisory-improvement-7276from
andy-may-at-GHSA-xwmg-2g98-w7v9

Conversation

@andy-may-at
Copy link
Copy Markdown

Updates

  • Affected products

Comments
The fix for this originally done in 10.0.2 (https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/583/stackoverflowerror-due-to-deeply-nested)
was backported to the 9.x branch in 9.37.4 (while I believe there was an rc build of 9.38-rc1 in existence.
the final build of 9.38 included the fix.

The existing affected-versions config is incorrectly flagging 9.47 as vulnerable.

Copilot AI review requested due to automatic review settings April 1, 2026 11:45
@github-actions github-actions bot changed the base branch from main to andy-may-at/advisory-improvement-7276 April 1, 2026 11:46
Copy link
Copy Markdown

Copilot AI left a comment

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 GHSA advisory metadata for Nimbus JOSE + JWT (CVE-2025-53864) to correct the affected-version ranges so fixed 9.x releases (e.g., 9.47) are no longer flagged as vulnerable.

Changes:

  • Refines Maven affected ranges to reflect fixes in 9.37.4 (9.x) and 10.0.2 (10.x), and to cap the 9.38-rc1 range at 9.38.
  • Updates the advisory modified timestamp.

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

Comment on lines 17 to +21
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "com.nimbusds:nimbus-jose-jwt"
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

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

The details field still states the package is affected "before 10.0.2", which can be read as including all 9.x releases (e.g., 9.47) even though the updated affected ranges now indicate 9.x is fixed as of 9.37.4 (and 9.38 fixes the RC range). Consider updating details to explicitly mention the fixed versions per major line (9.37.4 / 9.38 and 10.0.2) so the narrative matches the corrected version ranges.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I agree with Copilot's suggestion, but can't edit the branch in place, so I'll close this PR & open a new one with the details updated.

@andy-may-at
Copy link
Copy Markdown
Author

I can't edit the branch, but want to make a change, so I'll close this PR & raise a new one with better details.

@andy-may-at andy-may-at closed this Apr 1, 2026
@github-actions github-actions bot deleted the andy-may-at-GHSA-xwmg-2g98-w7v9 branch April 1, 2026 13:01
@andy-may-at
Copy link
Copy Markdown
Author

After digging through the nimbus-jose-jwt code, I can see that I was wrong & the current affected-versions is correct.

(I was confused by the affected library's issue tracker referring to a fix being made on the 9.x branch, when in fact only the 9.37.x branch was fixed (9.38->9.48 left unfixed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants