CVE-2022-31804 CODESYS Gateway server prone to denial of service attack due to excessive memory allocation

High 7.5 Published Updated

An unauthenticated attacker can cause a denial of service in CODESYS Gateway Server V2 by triggering excessive memory allocation.

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

What is CVE-2022-31804?

CVE-2022-31804 is a high-severity denial of service vulnerability in CODESYS Gateway Server V2, published on 24 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The CODESYS Gateway Server V2 does not verifiy that the size of a request is within expected limits. An unauthenticated attacker may allocate an arbitrary amount of memory, which may lead to a crash of the Gateway due to an out-of-memory condition.

Weakness: CWE-789

Which versions are affected by CVE-2022-31804?

It affects 1 product.

Products include Codesys Gateway.

How do I fix CVE-2022-31804?

No fix has been published for CVE-2022-31804 yet. Limit exposure of the affected software until one is available.

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-31804 being exploited?

There is no known exploitation of CVE-2022-31804 in the wild and no public exploit code.

Sources

Also known as GHSA-qhgm-4r4g-j663.

Is CVE-2022-31804 in your software?

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

Check your SBOMs for free