CyberSecBulletin
CVE-2022-30792NVD status: Modified

CODESYS Control RTE (SL): Uncontrolled Resource Consumption

CVE-2022-30792 is a high-severity uncontrolled resource consumption 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.20 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 0.92% chance of exploitation within 30 days, higher than 61% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update CODESYS Control RTE (SL) to V3.5.18.20 or a later version.
  2. Update CODESYS Control RTE (for Beckhoff CX) SL to V3.5.18.20 or a later version.
  3. Update CODESYS Control Win (SL) to V3.5.18.20 or a later version.
  4. Read the advisory on customers.codesys.com for workarounds and exact fixed builds.
  5. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
CODESYSCODESYS Control RTE (SL)V3 up to, but not including, V3.5.18.20V3.5.18.20
CODESYSCODESYS Control RTE (for Beckhoff CX) SLV3 up to, but not including, V3.5.18.20V3.5.18.20
CODESYSCODESYS Control Win (SL)V3 up to, but not including, V3.5.18.20V3.5.18.20
CODESYSCODESYS GatewayV3 up to, but not including, V3.5.18.20V3.5.18.20
CODESYSCODESYS Edge Gateway for WindowsV3 up to, but not including, V3.5.18.20V3.5.18.20
CODESYSCODESYS HMI (SL)V3 up to, but not including, V3.5.18.20V3.5.18.20
CODESYSCODESYS Development System V3V3 up to, but not including, V3.5.18.10V3.5.18.10
CODESYSCODESYS Control Runtime System ToolkitV3 up to, but not including, V3.5.18.20V3.5.18.20
CODESYSCODESYS Embedded Target Visu ToolkitV3 up to, but not including, V3.5.18.20V3.5.18.20
CODESYSCODESYS Remote Target Visu ToolkitV3 up to, but not including, V3.5.18.20V3.5.18.20
CODESYSCODESYS Control for BeagleBone SLV3 up to, but not including, V4.5.0.0V4.5.0.0
CODESYSCODESYS Control for Beckhoff CX9020 SLV3 up to, but not including, V4.5.0.0V4.5.0.0
CODESYSCODESYS Control for emPC-A/iMX6 SLV3 up to, but not including, V4.5.0.0V4.5.0.0
CODESYSCODESYS Control for IOT2000 SLV3 up to, but not including, V4.5.0.0V4.5.0.0
CODESYSCODESYS Control for Linux SLV3 up to, but not including, V4.5.0.0V4.5.0.0
CODESYSCODESYS Control for PFC100 SLV3 up to, but not including, V4.5.0.0V4.5.0.0
CODESYSCODESYS Control for PFC200 SLV3 up to, but not including, V4.5.0.0V4.5.0.0
CODESYSCODESYS Control for PLCnext SLV3 up to, but not including, V4.5.0.0V4.5.0.0
CODESYSCODESYS Control for Raspberry Pi SLV3 up to, but not including, V4.5.0.0V4.5.0.0
CODESYSCODESYS Control for WAGO Touch Panels 600 SLV3 up to, but not including, V4.5.0.0V4.5.0.0
CODESYSCODESYS Edge Gateway for LinuxV3 up to, but not including, V4.5.0.0V4.5.0.0
CodesysControl For Beaglebonebefore 4.5.0.04.5.0.0
CodesysControl For Empc-a/imx6before 4.5.0.04.5.0.0
CodesysControl For Iot2000 Slbefore 4.6.0.04.6.0.0
CodesysControl For Linux Slbefore 4.5.0.04.5.0.0

Version data comes from the organisation that assigned the CVE; 15 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 systemScoreSeverityScored by
CVSS 3.17.5HighCNA (cert.vde.com)
CVSS 3.17.5HighNVD
CVSS 2.05.0MediumNVD

Official description

In CmpChannelServer of CODESYS V3 in multiple versions an uncontrolled ressource consumption allows an unauthorized attacker to block new communication channel connections. Existing connections are not affected.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Uncontrolled Resource Consumption

The product does not properly control the allocation and maintenance of a limited resource.

How developers prevent this class of flaw

  • Ensure that protocols have specific limits of scale placed on them.
  • Ensure that all failures in resource allocation place the system into a safe posture.

More Uncontrolled Resource Consumption vulnerabilities (CWE-400)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in CODESYS Control RTE (SL)

All CODESYS Control RTE (SL) vulnerabilities

Recent Uncontrolled Resource Consumption vulnerabilities

Spotted an error? Tell us.