Skip to content

fix: CWE-347: Improper Verification of Cryptographic Signature#6336

Merged
bijin-bruno merged 1 commit intousebruno:mainfrom
bijin-bruno:fix/jws-vulnerability-CVE-2025-65945
Dec 7, 2025
Merged

fix: CWE-347: Improper Verification of Cryptographic Signature#6336
bijin-bruno merged 1 commit intousebruno:mainfrom
bijin-bruno:fix/jws-vulnerability-CVE-2025-65945

Conversation

@bijin-bruno
Copy link
Collaborator

@bijin-bruno bijin-bruno commented Dec 7, 2025

Description

auth0/node-jws is a JSON Web Signature implementation for Node.js. In versions 3.2.2 and earlier and version 4.0.0, auth0/node-jws has an improper signature verification vulnerability when using the HS256 algorithm under specific conditions. Applications are affected when they use the jws.createVerify() function for HMAC algorithms and use user-provided data from the JSON Web Signature protected header or payload in HMAC secret lookup routines, which can allow attackers to bypass signature verification. This issue has been patched in versions 3.2.3 and 4.0.1.

Learn more: CWE-347: Improper Verification of Cryptographic Signature

JIRA

Contribution Checklist:

  • I've used AI significantly to create this pull request
  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

@bijin-bruno bijin-bruno merged commit 3302284 into usebruno:main Dec 7, 2025
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant