CODESYS Development System 3
Uncontrolled Memory Allocation in CODESYS Gateway Client
The CODESYS Gateway Client allocates memory based on a size field in a gateway response without enforcing an appropriate upper limit. An unauthenticated remote attacker controlling a malicious gateway can exploit this behavior to trigger excessive memory consumption, resulting in a denial-of-service condition thus leading to a total loss of availablity.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.0.0, < 3.5.22.40
Fixed in 3.5.22.40
- >= 3.0.0.0, < 3.5.22.40
Fixed in 3.5.22.40
- >= 3.0.0.0, < 3.5.22.40
Fixed in 3.5.22.40
- >= 3.0.0.0, < 3.5.22.40
Fixed in 3.5.22.40
- >= 3.0.0.0, < 3.5.22.40
Fixed in 3.5.22.40
- >= 3.0.0.0, < 3.5.22.40
Fixed in 3.5.22.40
- >= 3.0.0.0, < 3.5.22.40
Fixed in 3.5.22.40
- >= 3.15.0.0, < 4.23.0.0
Fixed in 4.23.0.0
Mitigation
Upgrade Development System 3 to 3.5.22.40 or later.
Upgrade Gateway to 3.5.22.40 or later.
Upgrade Edge Gateway for Windows to 3.5.22.40 or later.
Upgrade HMI (SL) to 3.5.22.40 or later.
Upgrade OPC DA Server SL to 3.5.22.40 or later.
Upgrade PLCHandler to 3.5.22.40 or later.
Upgrade Runtime Toolkit to 3.5.22.40 or later.
Upgrade Edge Gateway for Linux to 4.23.0.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.