high7.5
CVE-2022-25304
Uncontrolled Resource Consumption in asyncua and opcua
Impact
All versions of package opcua; all versions of package asyncua 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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | asyncua | <= 0.9.95 | 0.9.96 |
| pip | opcua | <= 0.98.13 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Asyncua Project | Asyncua | All versions |
| Opcua Project | Opcua | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/FreeOpcUa/python-opcua/issues/1466
- https://security.snyk.io/vuln/SNYK-PYTHON-ASYNCUA-2988731
- https://security.snyk.io/vuln/SNYK-PYTHON-OPCUA-2988730
- https://github.com/advisories/GHSA-mfpj-3qhm-976m
- https://nvd.nist.gov/vuln/detail/CVE-2022-25304
- https://github.com/FreeOpcUa/opcua-asyncio/commit/01c7acf047887b62d979cd4373d370e72a4b9057