Vulnerability · Published Aug 23, 2022 · Assigned by snyk
CVE-2022-21208Denial of Service (DoS)
High 7.5
In plain English
A high-severity security flaw in node-opcua. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.5%top 26.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
The package node-opcua before 2.74.0 are vulnerable to Denial of Service (DoS) due to a missing limitation on the number of received chunks - per single session or in total for all concurrent sessions. An attacker can exploit this vulnerability by sending an unlimited number of huge chunks (e.g. 2GB each) without sending the Final closing chunk.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | node-opcua | 2.74.0 | GHSA-4hr4-pjjh-2q2w |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | node-opcua | unspecified – before 2.74.0 |
References
- https://security.snyk.io/vuln/SNYK-JS-NODEOPCUA-2988723 x_refsource_MISC
- https://github.com/node-opcua/node-opcua/commit/33ca3bab4ab781392a2f8d8f5a14de9a0aa0e410 x_refsource_MISC
- https://github.com/node-opcua/node-opcua/commit/dbcb5d5191118c22ee9c89332a94b94e6553d76b x_refsource_MISC
- https://github.com/node-opcua/node-opcua/pull/1149 x_refsource_MISC