High severity · published Jun 24, 2022
CVE-2022-31804
The CODESYS Gateway Server V2 does not verifiy that the size of a request is within expected limits
7.5
CVSS
1.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 67% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GA
Gateway · Codesys
2.0 before 2.3.9.38 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-31804
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-31804
Vendor Advisory
https://customers.codesys.com/index.php?eID=dumpFile&t=f&f=17141&token=17867e35cfd30c77ba0137f9a17b3a557a4b7b66&download=
More from Gateway
9.8
CVE-2022-31802
In CODESYS Gateway Server V2 for versions prior to V2.3.9.38 only a part of the the specified password is been compared to the real CODESYS Gateway password
9.8
CVE-2019-9010
An issue was discovered in 3S-Smart CODESYS V3 products
7.5
CVE-2026-76992
Uncontrolled Memory Allocation in CODESYS Gateway Client
7.5
CVE-2022-30792
In CmpChannelServer of CODESYS V3 in multiple versions an uncontrolled ressource consumption allows an unauthorized attacker to block new communication channel connections
7.5
CVE-2022-30791
In CmpBlkDrvTcp of CODESYS V3 in multiple versions an uncontrolled ressource consumption allows an unauthorized attacker to block new TCP connections
