CVE-2022-25304 Denial of Service (DoS)
An attacker can cause a denial of service by sending unlimited large chunks without closing them, exhausting resources in the asyncua library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-25304?
CVE-2022-25304 is a high-severity denial of service vulnerability in asyncua, published on 23 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-770
Which versions are affected by CVE-2022-25304?
6 open source packages ship an affected version, including asyncua and opcua. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
asyncua PyPI | All versions | 0.9.96 |
asyncua PyPI | All versions | 0.9.96 |
asyncua PyPI | All versions | 0.9.96 |
opcua PyPI | All versions to 0.98.13 | None |
opcua PyPI | All versions to 0.98.13 | None |
opcua PyPI | All versions to 0.98.13 | None |
Products include Asyncua Project Asyncua, Opcua Project Opcua.
How do I fix CVE-2022-25304?
Upgrade asyncua to 0.9.96 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-25304 being exploited?
There is no known exploitation of CVE-2022-25304 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2022-25304, GHSA-mfpj-3qhm-976m, PYSEC-2026-2385, PYSEC-2026-888, UBUNTU-CVE-2022-25304.