[GHSA-mq36-523m-x7vv] node-opcua missing nonce verification in UserNameIdentityToken authentication - #9272
Open
kgnio wants to merge 1 commit into
Open
Conversation
Collaborator
|
Hi there @erossignon! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository. This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory |
github-actions
Bot
changed the base branch from
main
to
kgnio/advisory-improvement-9272
August 31, 2026 07:26
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.
Updates
Comments
The affected version range is incomplete and the patched version is missing.
The nonce-verification fix was introduced in commit c6b05738682f5c8d70b1ea275c881f01a1cd9787. This commit adds validation that the trailing bytes of the decrypted UserNameIdentityToken password blob match the session's server nonce, directly addressing the vulnerability described by this advisory.
Version 2.165.2 is an existing release that predates the nonce-verification fix, while the fix commit is contained in v2.166.0.
This change therefore updates:
Affected versions:
<= 2.165.0 → < 2.166.0
Patched versions:
None → 2.166.0
The Description's affected-version line is updated to match the corrected structured metadata.
No changes are made to the title, CWE, CVSS, severity, references, or source code location.
References:
Fix commit:
node-opcua/node-opcua@c6b0573
Comparison showing the fix commit is included in v2.166.0:
node-opcua/node-opcua@c6b0573...v2.166.0
v2.165.2 package metadata:
https://github.com/node-opcua/node-opcua/blob/v2.165.2/packages/node-opcua/package.json
v2.166.0 package metadata:
https://github.com/node-opcua/node-opcua/blob/v2.166.0/packages/node-opcua/package.json