high7.5
CVE-2022-25231
node-opcua DoS vulnerability via message with memory allocation that exceeds v8's memory limit
Impact
The package node-opcua before 2.74.0 are vulnerable to Denial of Service (DoS) by sending a specifically crafted OPC UA message with a special OPC UA NodeID, when the requested memory allocation exceeds the v8’s memory limit.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | node-opcua | < 2.74.0 | 2.74.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Node-Opcua Project | Node-Opcua | before 2.74.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/node-opcua/node-opcua/commit/7b5044b3f5866fbedc3efabd05e407352c07bd2f
- https://github.com/node-opcua/node-opcua/pull/1182
- https://security.snyk.io/vuln/SNYK-JS-NODEOPCUA-2988724
- https://github.com/advisories/GHSA-qpgc-xh7j-52q8
- https://nvd.nist.gov/vuln/detail/CVE-2022-25231