CVE-2021-29242

CODESYS Control Runtime system before 3.5.17.0 has improper input validation. Attackers can send crafted communication packets to change the router's addressing scheme and may re-route, add, remove or change low level communication packages.

Published: 2021-05-03 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2021-29242 is rated Moderate Risk (51/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.07%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2021-29242

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.32% 1.07% +0.75%
2 2026-02-18 0.44% 0.32% -0.12%
3 2025-08-18 0.44%

Full EPSS history (11 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2021-29242

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.3 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
3.9 3.4 [email protected]
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2021-29242

Affected software / configurations for CVE-2021-29242

Vendor Product Version Raw CPE
codesys control_for_beaglebone_sl >= 3.0, < 4.1.0.0 cpe:2.3:a:codesys:control_for_beaglebone_sl:*:*:*:*:*:*:*:*
codesys control_for_empc-a\/imx6_sl >= 3.0, < 4.1.0.0 cpe:2.3:a:codesys:control_for_empc-a\/imx6_sl:*:*:*:*:*:*:*:*
codesys control_for_iot2000_sl >= 3.0, < 4.1.0.0 cpe:2.3:a:codesys:control_for_iot2000_sl:*:*:*:*:*:*:*:*
codesys control_for_linux_arm_sl >= 3.0, < 4.1.0.0 cpe:2.3:a:codesys:control_for_linux_arm_sl:*:*:*:*:*:*:*:*
codesys control_for_linux_sl >= 3.0, < 4.1.0.0 cpe:2.3:a:codesys:control_for_linux_sl:*:*:*:*:*:*:*:*
codesys control_for_pfc100_sl >= 3.0, < 4.1.0.0 cpe:2.3:a:codesys:control_for_pfc100_sl:*:*:*:*:*:*:*:*
codesys control_for_pfc200_sl >= 3.0, < 4.1.0.0 cpe:2.3:a:codesys:control_for_pfc200_sl:*:*:*:*:*:*:*:*
codesys control_for_plcnext_sl >= 3.0, < 4.1.0.0 cpe:2.3:a:codesys:control_for_plcnext_sl:*:*:*:*:*:*:*:*
codesys control_for_raspberry_pi_sl >= 3.0, < 4.1.0.0 cpe:2.3:a:codesys:control_for_raspberry_pi_sl:*:*:*:*:*:*:*:*
codesys control_for_wago_touch_panels_600_sl >= 3.0, < 4.1.0.0 cpe:2.3:a:codesys:control_for_wago_touch_panels_600_sl:*:*:*:*:*:*:*:*
codesys control_rte >= 3.0, < 3.5.17.0 cpe:2.3:a:codesys:control_rte:*:*:*:*:*:*:*:*
codesys control_rte >= 3.0, < 3.5.17.0 cpe:2.3:a:codesys:control_rte:*:*:*:*:*:beckhoff_cx:*:*
codesys control_runtime_system_toolkit >= 3.0, < 3.5.17.0 cpe:2.3:a:codesys:control_runtime_system_toolkit:*:*:*:*:*:*:*:*
codesys control_win >= 3.0, < 3.5.17.0 cpe:2.3:a:codesys:control_win:*:*:*:*:*:*:*:*
codesys edge_gateway >= 3.0, < 3.5.17.0 cpe:2.3:a:codesys:edge_gateway:*:*:*:*:*:windows:*:*
codesys edge_gateway >= 3.0, < 4.1.0.0 cpe:2.3:a:codesys:edge_gateway:*:*:*:*:*:linux:*:*
codesys embedded_target_visu_toolkit >= 3.0, < 3.5.17.0 cpe:2.3:a:codesys:embedded_target_visu_toolkit:*:*:*:*:*:*:*:*
codesys gateway >= 3.0, < 3.5.17.0 cpe:2.3:a:codesys:gateway:*:*:*:*:*:*:*:*
codesys hmi >= 3.0, < 3.5.17.0 cpe:2.3:a:codesys:hmi:*:*:*:*:*:*:*:*
codesys opc_server >= 3.0, < 3.5.17.0 cpe:2.3:a:codesys:opc_server:*:*:*:*:*:*:*:*
codesys plchandler >= 3.0, < 3.5.17.0 cpe:2.3:a:codesys:plchandler:*:*:*:*:*:*:*:*
codesys remote_target_visu_toolkit >= 3.0, < 3.5.17.0 cpe:2.3:a:codesys:remote_target_visu_toolkit:*:*:*:*:*:*:*:*
codesys safety_sil >= 3.0, < 3.5.17.0 cpe:2.3:a:codesys:safety_sil:*:*:*:*:*:*:*:*
codesys simulation_runtime >= 3.0, < 3.5.17.0 cpe:2.3:a:codesys:simulation_runtime:*:*:*:*:*:*:*:*

References for CVE-2021-29242

cvelogic Threat Intelligence