CODESYS Control RTE (SL): Out-of-bounds Read
CVE-2022-22519 is a high-severity out-of-bounds read vulnerability in CODESYS Control RTE (SL) from Codesys, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version V3.5.18.0 as the first without the flaw, so updating CODESYS Control RTE (SL) to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 1.68% chance of exploitation within 30 days, higher than 77% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update CODESYS Control RTE (SL) to V3.5.18.0 or a later version.
- Update CODESYS Control RTE (for Beckhoff CX) SL to V3.5.18.0 or a later version.
- Update CODESYS Control Win (SL) to V3.5.18.0 or a later version.
- Read the advisory on customers.codesys.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| CODESYS | CODESYS Control RTE (SL) | V3.5.18.0 up to, but not including, V3.5.18.0 | V3.5.18.0 |
| CODESYS | CODESYS Control RTE (for Beckhoff CX) SL | V3.5.18.0 up to, but not including, V3.5.18.0 | V3.5.18.0 |
| CODESYS | CODESYS Control Win (SL) | V3.5.18.0 up to, but not including, V3.5.18.0 | V3.5.18.0 |
| CODESYS | CODESYS HMI (SL) | V3.5.18.0 up to, but not including, V3.5.18.0 | V3.5.18.0 |
| CODESYS | CODESYS Control Runtime System Toolkit | V3.5.18.0 up to, but not including, V3.5.18.0 | V3.5.18.0 |
| CODESYS | CODESYS Embedded Target Visu Toolkit | V3.5.18.0 up to, but not including, V3.5.18.0 | V3.5.18.0 |
| CODESYS | CODESYS Remote Target Visu Toolkit | V3.5.18.0 up to, but not including, V3.5.18.0 | V3.5.18.0 |
| CODESYS | CODESYS Control for BeagleBone SL | V4.5.0.0 up to, but not including, V4.5.0.0 | V4.5.0.0 |
| CODESYS | CODESYS Control for Beckhoff CX9020 SL | V4.5.0.0 up to, but not including, V4.5.0.0 | V4.5.0.0 |
| CODESYS | CODESYS Control for emPC-A/iMX6 SL | V4.5.0.0 up to, but not including, V4.5.0.0 | V4.5.0.0 |
| CODESYS | CODESYS Control for IOT2000 SL | V4.5.0.0 up to, but not including, V4.5.0.0 | V4.5.0.0 |
| CODESYS | CODESYS Control for Linux SL | V4.5.0.0 up to, but not including, V4.5.0.0 | V4.5.0.0 |
| CODESYS | CODESYS Control for PFC100 SL | V4.5.0.0 up to, but not including, V4.5.0.0 | V4.5.0.0 |
| CODESYS | CODESYS Control for PFC200 SL | V4.5.0.0 up to, but not including, V4.5.0.0 | V4.5.0.0 |
| CODESYS | CODESYS Control for PLCnext SL | V4.5.0.0 up to, but not including, V4.5.0.0 | V4.5.0.0 |
| CODESYS | CODESYS Control for Raspberry Pi SL | V4.5.0.0 up to, but not including, V4.5.0.0 | V4.5.0.0 |
| CODESYS | CODESYS Control for WAGO Touch Panels 600 SL | V4.5.0.0 up to, but not including, V4.5.0.0 | V4.5.0.0 |
| Codesys | Control For Beaglebone Sl | before 4.5.0.0 | 4.5.0.0 |
| Codesys | Control For Beckhoff Cx9020 | before 4.5.0.0 | 4.5.0.0 |
| Codesys | Control For Empc-a/imx6 Sl | before 4.5.0.0 | 4.5.0.0 |
| Codesys | Control For Iot2000 Sl | before 4.5.0.0 | 4.5.0.0 |
| Codesys | Control For Linux Sl | before 4.5.0.0 | 4.5.0.0 |
| Codesys | Control For Pfc100 Sl | before 4.5.0.0 | 4.5.0.0 |
| Codesys | Control For Pfc200 Sl | before 4.5.0.0 | 4.5.0.0 |
| Codesys | Control For Plcnext Sl | before 4.5.0.0 | 4.5.0.0 |
Version data comes from the organisation that assigned the CVE; 10 further products are omitted here. 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
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.5 | High | CNA (cert.vde.com) |
| CVSS 3.1 | 7.5 | High | NVD |
| CVSS 2.0 | 5.0 | Medium | NVD |
Official description
A remote, unauthenticated attacker can send a specific crafted HTTP or HTTPS requests causing a buffer over-read resulting in a crash of the webserver of the CODESYS Control runtime system.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
How developers prevent this class of flaw
- Use a language that provides appropriate memory abstractions.
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Other vulnerabilities in CODESYS Control RTE (SL)
- 7.5 High severity
- 8.1 High severity
- 7.5 High severity
- 8.8 High severity
- 7.5 High severity
- 7.5 High severity
Recent Out-of-bounds Read vulnerabilities
- 9.8 Critical severity
- 7.8 High severity
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
- 7.8 High severity
Spotted an error? Tell us.