CVE-2021-30195
mediumpriority · track · 33EPSS 0.076 · 95 %ileDEEURUUSEPSS · scored 2026-10-22
CODESYS V2 runtime system before 2.4.7.55 has Improper Input Validation.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedwago_psirt
Endress+Hauser provides updated firmware versions for all related products from the Proline portfolio which fixes the vulnerability and recommends customers to update to the new fixed version. For support, please contact your local service center.
- Fixedlenze_psirt
The affected products - Embedded Line EL 1800-9800 - Command Station CS 5800-9800 - Control Cabinet PC 2800 - EL100 PLC are at the end of life and are no longer available. A further development or adaption of the products is no longer planned and no longer possible from the process of discontinuation. The affected product - 9400 servo inverters in the constellation described above will be revised in the next product release. An update is planned for Q2 2022.
- FixedCODESYS PLCWinNTcisa_csaf_ot
CODESYS GmbH has released the following product versions to solve the noted vulnerability issues for the affected CODESYS products: CODESYS Runtime Toolkit 32-bit full v2.4.7.55, CODESYS PLCWinNT v2.4.7.55. This will also be part of the CODESYS Development System setup v2.3.9.66
- FixedCODESYS Runtime Toolkit 32-bit fullcisa_csaf_ot
CODESYS GmbH has released the following product versions to solve the noted vulnerability issues for the affected CODESYS products: CODESYS Runtime Toolkit 32-bit full v2.4.7.55, CODESYS PLCWinNT v2.4.7.55. This will also be part of the CODESYS Development System setup v2.3.9.66
- MitigationFesto Automation Suite <2.8.0.138 installed with CODESYS Development System 3.0festo_psirt
Starting from Festo Automation Suite version 2.8.0.138, Codesys is no longer bundled with the suite and must be downloaded and installed separately by the customer. To mitigate this vulnerability customers are advised to: Download the latest, patched version of Codesys directly from the official Codesys website. Follow the installation and update instructions provided by Codesys to ensure all security fixes are applied. Regularly monitor Codesys security advisories and apply updates promptly. Maintain the Festo Automation Suite connector up to date by installing FAS updates as released by Festo.
- MitigationFesto Automation Suite <2.8.0.138 installed with CODESYS Development System 3.5.16.10festo_psirt
Starting from Festo Automation Suite version 2.8.0.138, Codesys is no longer bundled with the suite and must be downloaded and installed separately by the customer. To mitigate this vulnerability customers are advised to: Download the latest, patched version of Codesys directly from the official Codesys website. Follow the installation and update instructions provided by Codesys to ensure all security fixes are applied. Regularly monitor Codesys security advisories and apply updates promptly. Maintain the Festo Automation Suite connector up to date by installing FAS updates as released by Festo.
- Mitigationwago_psirt
If an immediate firmware update is not possible, the WLAN on the unit can also be switched off as a precautionary measure.
- Mitigationlenze_psirt
As part of a security strategy, Lenze SE recommends the following general defense measures to reduce the risk of exploits: - Only use the products in a protected and controlled environment to minimize network impact and to ensure that they are inaccessible from outside. - Use firewalls to protect the automation system network and to separate it from other networks. Remark: One Measure should be to Block port 1200 via the firewall and open this port for authenticated access only. - Use Virtual Private Networks (VPN) tunnels when remote access is required. - Use IDS (Intrusion Detection Systems) where possible to detect anomalies in the network. - Activate and use user administration and password functions. - Use encrypted communication links. Restrict access to both the development tools and their projects and the products of the automation system by physical means, operating system functions, etc. - Protect the development tool by using the latest virus detection solutions.
- MitigationCODESYS PLCWinNTcisa_csaf_ot
Activate and apply user management and password features.
- MitigationCODESYS Runtime Toolkit 32-bit fullcisa_csaf_ot
Activate and apply user management and password features.
- MitigationFesto Automation Suite <2.8.0.138 installed with CODESYS Development System 3.0cisa_csaf_ot
Starting from Festo Automation Suite version 2.8.0.138, Codesys is no longer bundled with the suite and must be downloaded and installed separately by the customer. To mitigate this vulnerability customers are advised to: Download the latest, patched version of Codesys directly from the official Codesys website. Follow the installation and update instructions provided by Codesys to ensure all security fixes are applied. Regularly monitor Codesys security advisories and apply updates promptly. Maintain the Festo Automation Suite connector up to date by installing FAS updates as released by Festo.
- MitigationFesto Automation Suite <2.8.0.138 installed with CODESYS Development System 3.5.16.10cisa_csaf_ot
Starting from Festo Automation Suite version 2.8.0.138, Codesys is no longer bundled with the suite and must be downloaded and installed separately by the customer. To mitigate this vulnerability customers are advised to: Download the latest, patched version of Codesys directly from the official Codesys website. Follow the installation and update instructions provided by Codesys to ensure all security fixes are applied. Regularly monitor Codesys security advisories and apply updates promptly. Maintain the Festo Automation Suite connector up to date by installing FAS updates as released by Festo.
- No fix availablepilz_psirt
PMI 6 primo, PMCprimo C: No product-specific countermeasures available, please follow the general countermeasures. • PMCprimo C2, PMCprimo MC: Installation of Firmware Version 03.08.00 This update does not resolve the vulnerabilities (CVE-2021-34595, CVE-2021-34596, CVE-2021-34593, CVE-2021-30186, CVE-2021-30188, CVE-2021-30195, CVE-2019-19789) in the CODESYS V2 runtime system. The V2 runtime system is still included for compatibility reasons but is no longer supported by Pilz. Please migrate your application to the V3 runtime system or follow the general countermeasures.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (74)
Products and version ranges known to be affected.
- CODESYS Development System 3.5.21.20 external component of Festo Automation Suite 2.8.0.138all versionsfixedcisa_csaf_otUScpe:2.3:a:codesys:development_system:3.5.21.20*:*:*:*:*:*:*:*
- Festo Automation Suite <2.8.0.138 installed with CODESYS Development System 3.0all versionscisa_csaf_otUScpe:2.3:a:codesys:development_system:3.0:*:*:*:*:*:*:*
- Festo Automation Suite <2.8.0.138 installed with CODESYS Development System 3.5.16.10all versionscisa_csaf_otUScpe:2.3:a:codesys:development_system:3.5.16.10:*:*:*:*:*:*:*
- CODESYS Development System 3.5.21.20 external component of Festo Automation Suite 2.8.0.138all versionsfixedfesto_psirtDEcpe:2.3:a:codesys:development_system:3.5.21.20*:*:*:*:*:*:*:*
- Festo Automation Suite <2.8.0.138 installed with CODESYS Development System 3.0all versionsfesto_psirtDEcpe:2.3:a:codesys:development_system:3.0:*:*:*:*:*:*:*
- Festo Automation Suite <2.8.0.138 installed with CODESYS Development System 3.5.16.10all versionsfesto_psirtDEcpe:2.3:a:codesys:development_system:3.5.16.10:*:*:*:*:*:*:*
advisories (6)
Vendor and ecosystem advisories describing this.
- FSA-202601Several CODESYS vulnerabilities in Festo Automation Suite2026-02-26csaf · festo_psirtDE
Starting with Festo Automation Suite (FAS) version 2.8.0.138, the suite is delivered only with a connector to Codesys, rather than including Codesys directly. Prior to this version, Codesys was bundled within the FAS installation. From version 2.8.0.138 onwards, customers are required to download and install Codesys independently. This change impacts the handling of security vulnerabilities (CVEs) related to Codesys. Any Codesys-related security issues must now be addressed by the customer through their separate Codesys installation. The FAS itself includes only the connector component, which is maintained and updated within the suite. Please ensure that Codesys is kept up to date independently to mitigate any potential security risks associated with the Codesys software.
- VDE-2021-014WAGO: Multiple Vulnerabilities in CODESYS Runtime 2.32021-05-20csaf · wago_psirtDE
Multiple vulnerabilities were reported in CODESYS 2.3 Runtime. The CODESYS 2.3 Runtime is an essential component in several WAGO PLC's.
- VDE-2021-048Lenze: Multiple Vulnerabilities in CODESYS Control V2 communication2021-10-04csaf · lenze_psirtDE
The affected products contain a CODESYS Control runtime system in version V2. They are therefore affected by the vulnerability described in CODESYS Advisory 2021-06. It provides a communication server for the communication with clients like the CODESYS Development System. The 9400 servo inverters is only affected if the communication Path via the inserted EtherNet Module E94AYCEN on slot MXI1 or MXI2 is used. If the Module E94AYCEN is used, the following Versions are affected. Product Identification: E94xSHxxx (Single Drive, High Line) Product Identification: E94xMHxxx (Multi Drive, High Line) Remark: If the product identification of your 9400 product does not fit to the above mentioned identification, please contact Lenze at Security.de@Lenze.com. The Versions P (power supply module) and R (regenerative power supply module) are not affected. Furthermore, the Variant P (PLC) and the Variant S (StateLine) are not affected. The communication paths via the diagnostic interface X6, the system bus (CAN) X1 or the field buses (other than the named Ethernet module) that can be plugged into the module slots MXI1 or MXI2 are not affected. The focus is therefore on 9400 servo inverters with the product-identification E94x{S/M}{H}... with a plugged in Ethernet module E94AYCEN... in module slot MXI1 or MXI2 and communication with the Engineer-Tools via exactly this channel. In addition to the standard tool Engineer, there is also a special Version of the PLC Designer (Version 0.x). The communication path to the PLC Designer is not considered with the planned update and the vulnerabilities here remain even after the update. Here, the customer must provide a secure Environment, see Mitigation.
- VDE-2021-054Pilz: Multiple vulnerabilities in CODESYS V2 and V3 runtime system2022-04-26csaf · pilz_psirtDE
Several Pilz products use Versions V2 and V3 of the CODESYS runtime system from CODESYS GmbH, which enables the execution of IEC 61131-3 PLC programs. These runtime environments contain several vulnerabilities, which an attacker can exploit via the network. Successful exploitation of the vulnerabilities results in reduced availability and, in a worst case, to the insertion of program code.
- ICSA-21-173-03CODESYS Control V2 communication2021-06-22icsa · cisa_csaf_otUS
Successful exploitation of these vulnerabilities may cause a heap-based buffer overflow, a stack-based buffer overflow, or a buffer over-read in the affected CODESYS products. This could result in a denial-of-service condition or allow remote code execution.
- ICSA-26-076-01CODESYS in Festo Automation Suite2026-02-26icsa · cisa_csaf_otUS
Starting with Festo Automation Suite (FAS) version 2.8.0.138, the suite is delivered only with a connector to Codesys, rather than including Codesys directly. Prior to this version, Codesys was bundled within the FAS installation. From version 2.8.0.138 onwards, customers are required to download and install Codesys independently. This change impacts the handling of security vulnerabilities (CVEs) related to Codesys. Any Codesys-related security issues must now be addressed by the customer through their separate Codesys installation. The FAS itself includes only the connector component, which is maintained and updated within the suite. Please ensure that Codesys is kept up to date independently to mitigate any potential security risks associated with the Codesys software.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://customers.codesys.com/index.phpcnnvd
- https://customers.codesys.com/index.php?eID=dumpFile&t=f&f=14725&token=08691519ef764b252630759eff925890176ecd78&download=cnnvd
- https://us-cert.cisa.gov/ics/advisories/icsa-21-173-03cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.2215cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021062307cnnvd
- https://customers.codesys.com/index.phpenisa_euvd
- https://customers.codesys.com/index.php?eID=dumpFile&t=f&f=14725&token=08691519ef764b252630759eff925890176ecd78&download=enisa_euvd
- https://customers.codesys.com/index.phpPermissions RequiredVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan