CVE-2021-21868 Deserialization in CODESYS

High 8.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
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-21868?

CVE-2021-21868 is a high-severity unsafe deserialization vulnerability in CODESYS, published on 18 Aug 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An unsafe deserialization vulnerability exists in the ObjectManager.plugin Project.get_MissingTypes() 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-21868?

It affects 1 product.

Products include Codesys Codesys.

How do I fix CVE-2021-21868?

No fix has been published for CVE-2021-21868 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-21868 being exploited?

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

Sources

Also known as GHSA-j437-r3p6-wvg8.

Is CVE-2021-21868 in your software?

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

Check your SBOMs for free