CODESYS Gateway server prone to denial of service attack due to excessive memory allocation
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-789.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA CODESYS Gateway Server V2 (CODESYS) Fixed in V2.3.9.38
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
CODESYS Gateway Server V2 V2.3.9.38
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2022-13694 Partial string comparison in CODESYS gateway serverPriority MEDIUM 45
- TI-2022-13695 CODESYS Gateway Server V2 prone to Denial of Service AttackPriority LOW 26
Timeline
- 2026-10-02 Threatist record created from CVE-2022-31804
- 2026-10-03 Alias added: GHSA-qhgm-4r4g-j663
References
More CODESYS Gateway vulnerabilities
- TI-2019-06497 An issue was discovered in 3S-Smart CODESYS V3 products. CVSS 3.1CRITICAL 9.8
- TI-2022-13694 Partial string comparison in CODESYS gateway server CVSS 3.1CRITICAL 9.8
- TI-2021-10055 CODESYS Gateway 3 before 3.5.16.70 has a NULL pointer dereference that may result in a denial of service (DoS). CVSS 3.1HIGH 7.5
- TI-2018-14204 Improper Communication Address Filtering exists in CODESYS V3 products versions prior V3.5.14.0. CVSS 3.1HIGH 7.5
- TI-2018-14203 Use of Insufficiently Random Values exists in CODESYS V3 products versions prior V3.5.14.0. CVSS 3.0HIGH 7.5
- TI-2019-06499 An issue was discovered in 3S-Smart CODESYS V3 products. CVSS 3.1HIGH 7.5
Sources
- CVE-2022-31804 · CVE Program
- CVE-2022-31804 · NVD
- FIRST EPSS
- GHSA-qhgm-4r4g-j663 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences