node-opcua: Unbounded nonce cache enables unauthenticated heap exhaustion DoS
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| node-opcua | node-opcua | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Node-opcua Project | Node-opcua |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-6wvw-vrw4-363w | node-opcua: Unbounded nonce cache enables unauthenticated heap exhaustion DoS |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.784% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Node-opcua Project
Node-opcua Project node-opcua |
|
| Vendors & Products |
Node-opcua Project
Node-opcua Project node-opcua |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | node-opcua is an OPC UA implementation for TypeScript and Node.js. Prior to 2.166.0, the process-global g_alreadyUsedNonce cache used by nonceAlreadyBeenUsed in packages/node-opcua-secure-channel/source/server/server_secure_channel_layer.ts records nonces from OpenSecureChannelRequest and CreateSession without expiration or a size limit. An unauthenticated remote attacker can repeatedly create sessions with unique nonces, causing entries to persist after session expiry and accumulate across connection cycles even when maxSessions=10 limits concurrent sessions. The resulting unbounded heap growth can exhaust the default Node.js heap and crash the node-opcua server process. This issue is fixed in version 2.166.0. | |
| Title | node-opcua: Unbounded nonce cache enables unauthenticated heap exhaustion DoS | |
| Weaknesses | CWE-770 | |
| References |
| |
| Metrics |
cvssV3_1
|