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

Published Jun 24, 2022
·
Updated

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.

Affected Software

1 affected component
CODESYS gateway>=2.0<2.3.9.38

Event History

Jun 24, 2022
CVE Published
via MITRE·07:46 AM
Data Sourced
via MITRE·07:46 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is CVE-2022-31804?

CVE-2022-31804 is a vulnerability in the CODESYS Gateway Server V2 that allows an unauthenticated attacker to allocate an arbitrary amount of memory, potentially causing a crash due to an out-of-memory condition.

2

How does CVE-2022-31804 affect CODESYS Gateway Server?

CVE-2022-31804 affects CODESYS Gateway Server V2 versions 2.0 to 2.3.9.38 by not verifying the size of a request, allowing an attacker to allocate excessive memory and potentially crash the Gateway.

3

What is the severity of CVE-2022-31804?

The severity of CVE-2022-31804 is high with a CVSS score of 7.5.

4

How can I fix CVE-2022-31804?

To fix CVE-2022-31804, it is recommended to update the CODESYS Gateway Server V2 to a version that includes the fix for the vulnerability.

5

Where can I find more information about CVE-2022-31804?

More information about CVE-2022-31804 can be found at the following link: [https://customers.codesys.com/index.php?eID=dumpFile&t=f&f=17141&token=17867e35cfd30c77ba0137f9a17b3a557a4b7b66&download=](https://customers.codesys.com/index.php?eID=dumpFile&t=f&f=17141&token=17867e35cfd30c77ba0137f9a17b3a557a4b7b66&download=

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203