Control RTE (SL): Initialization of a Resource with an Insecure Default
CVE-2022-4224 is a high-severity initialization of a resource with an insecure default vulnerability in Control RTE (SL) from Codesys, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists version 3.5.19.0 as the first without the flaw, so updating Control RTE (SL) to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.88% chance of exploitation within 30 days, higher than 60% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Control RTE (SL) to 3.5.19.0 or a later version.
- Update Control RTE (for Beckhoff CX) SL to 3.5.19.0 or a later version.
- Update Control Win (SL) to 3.5.19.0 or a later version.
- Read the advisory on customers.codesys.com for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| CODESYS | Control RTE (SL) | 3.0.0.0 up to, but not including, 3.5.19.0 | 3.5.19.0 |
| CODESYS | Control RTE (for Beckhoff CX) SL | 3.0.0.0 up to, but not including, 3.5.19.0 | 3.5.19.0 |
| CODESYS | Control Win (SL) | 3.0.0.0 up to, but not including, 3.5.19.0 | 3.5.19.0 |
| CODESYS | Runtime Toolkit | 3.0.0.0 up to, but not including, 3.5.19.0 | 3.5.19.0 |
| CODESYS | Safety SIL2 Runtime Toolkit | 3.0.0.0 up to, but not including, 3.5.19.0 | 3.5.19.0 |
| CODESYS | Safety SIL2 PSP | 3.0.0.0 up to, but not including, 3.5.19.0 | 3.5.19.0 |
| CODESYS | HMI (SL) | 3.0.0.0 up to, but not including, 3.5.19.0 | 3.5.19.0 |
| CODESYS | Development System V3 | 3.0.0.0 up to, but not including, 3.5.19.0 | 3.5.19.0 |
| CODESYS | Control for BeagleBone SL | 3.0.0.0 up to, but not including, 4.8.0.0 | 4.8.0.0 |
| CODESYS | Control for emPC-A/iMX6 SL | 3.0.0.0 up to, but not including, 4.8.0.0 | 4.8.0.0 |
| CODESYS | Control for IOT2000 SL | 3.0.0.0 up to, but not including, 4.8.0.0 | 4.8.0.0 |
| CODESYS | Control for Linux SL | 3.0.0.0 up to, but not including, 4.8.0.0 | 4.8.0.0 |
| CODESYS | Control for PFC100 SL | 3.0.0.0 up to, but not including, 4.8.0.0 | 4.8.0.0 |
| CODESYS | Control for PFC200 SL | 3.0.0.0 up to, but not including, 4.8.0.0 | 4.8.0.0 |
| CODESYS | Control for PLCnext SL | 3.0.0.0 up to, but not including, 4.8.0.0 | 4.8.0.0 |
| CODESYS | Control for Raspberry Pi SL | 3.0.0.0 up to, but not including, 4.8.0.0 | 4.8.0.0 |
| CODESYS | Control for WAGO Touch Panels 600 SL | 3.0.0.0 up to, but not including, 4.8.0.0 | 4.8.0.0 |
| Codesys | Control Rte Sl (for Beckhoff Cx) | 3.0 up to, but not including, 3.5.19.0 | 3.5.19.0 |
| Codesys | Development System | 3.0 up to, but not including, 3.5.19.0 | 3.5.19.0 |
| Codesys | Safety Sil2 | 3.0 up to, but not including, 3.5.19.0 | 3.5.19.0 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.8 | High | CNA (cert.vde.com) |
| CVSS 3.1 | 8.8 | High | NVD |
Official description
In multiple products of CODESYS v3 in multiple versions a remote low privileged user could utilize this vulnerability to read and modify system files and OS resources or DoS the device.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Initialization of a Resource with an Insecure Default
The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.
More Initialization of a Resource with an Insecure Default vulnerabilities (CWE-1188)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Other vulnerabilities in Control RTE (SL)
- 8.1 High severity
- 7.5 High severity
- 7.5 High severity
- 8.3 High severity
- 7.5 High severity
- 8.8 High severity
Recent Initialization of a Resource with an Insecure Default vulnerabilities
- 8.8 High severity
- 8.1 High severity
- 7.5 High severity
- 7.8 High severity
- 9.8 Critical severity
- 7.5 High severity
Spotted an error? Tell us.