CVE-2021-21864 Deserialization in CODESYS

High 7.8 Published Updated

An attacker can execute arbitrary commands by providing a specially crafted file to the CODESYS Development System due to unsafe deserialization.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-21864?

CVE-2021-21864 is a high-severity unsafe deserialization vulnerability in CODESYS, published on 2 Aug 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A unsafe deserialization vulnerability exists in the ComponentModel ComponentManager.StartupCultureSettings functionality of CODESYS GmbH CODESYS Development System 3.5.16 and 3.5.17. A specially crafted file can lead to arbitrary command execution. An attacker can provide a malicious file to trigger this vulnerability.

Weakness: CWE-502

Which versions are affected by CVE-2021-21864?

It affects 1 product.

Products include Codesys Development System.

How do I fix CVE-2021-21864?

No fix has been published for CVE-2021-21864 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2021-21864 being exploited?

There is no known exploitation of CVE-2021-21864 in the wild and no public exploit code.

Sources

Also known as GHSA-3xr7-46q2-56ff.

Is CVE-2021-21864 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free