Stack-based buffer overflow in CODESYS V2 Runtime Toolkit and CODESYS PLCWinNT - CVE-2021-30188

 

Stack-based buffer overflow in CODESYS V2 Runtime Toolkit and CODESYS PLCWinNT - CVE-2021-30188

Published: June 23, 2021


Vulnerability identifier: #VU54331
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-30188
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error. A remote unauthenticated attacker can send a specially crafted request, trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

CODESYS V2 Runtime Toolkit
CODESYS PLCWinNT

How to mitigate CVE-2021-30188

Install updates from vendor's website.

CODESYS V2 Runtime Toolkit - update to 2.4.7.55
CODESYS PLCWinNT - update to 2.4.7.55

External References

Related Security Bulletins