Description
The CmpSettings component of the CODESYS Control runtime system performs improper length checking when handling online service requests, resulting in an integer underflow. An authenticated, low-privileged remote attacker can exploit this vulnerability by sending a specially crafted request, causing a denial-of-service condition in the affected products.
Affected products and versions
CODESYS Control RTE (SL)3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Control RTE (for Beckhoff CX) SL3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Control Win (SL)3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Runtime Toolkit3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Embedded Target Visu Toolkit3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Remote Target Visu3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Safety SIL23.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Gateway3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Edge Gateway for Windows3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS HMI (SL)3.0.0.0 – < 3.5.22.50Fixed in: 3.5.22.50
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- None
- Availability
- High impact
Weakness type (CWE)
- CWE-191 Integer Underflow (Wrap or Wraparound)
References
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.