CVE-2023-26151 asyncua vulnerable to denial of service via infinite loop

Medium 5.3 Published Updated

An attacker can cause a denial of service by sending a malformed packet to the asyncua server, leading to an infinite loop and memory exhaustion.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-26151?

CVE-2023-26151 is a medium-severity denial of service vulnerability in asyncua, published on 3 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Versions of the package asyncua before 0.9.96 are vulnerable to Denial of Service (DoS) such that an attacker can send a malformed packet and as a result, the server will enter into an infinite loop and consume excessive memory.

Weakness: CWE-835, CWE-400

Which versions are affected by CVE-2023-26151?

3 open source packages ship an affected version, including asyncua. It affects 1 product.

PackageAffectedFixed in
asyncua PyPIAll versions0.9.96
asyncua PyPIAll versions0.9.96
asyncua PyPIAll versions0.9.96

Products include Freeopcua Opcua-Asyncio.

How do I fix CVE-2023-26151?

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-2023-26151 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26151 exists.

Sources

Also known as GHSA-gfvq-mxw3-mfq3, PYSEC-2023-190, UBUNTU-CVE-2023-26151.

Is CVE-2023-26151 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free