LiveActive security incident?Get immediate response
CVE Record

CVE-2021-21865: A unsafe deserialization vulnerability exists in the PackageManagement.plugin ExtensionMethods.Clone() func...

A unsafe deserialization vulnerability exists in the PackageManagement.plugin ExtensionMethods.Clone() functionality of CODESYS GmbH CODESYS Development System 3.5.16. A specially crafted file can lead to arbitrary command execution. An attacker can provide a malicious file to trigger this vulnerability.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-21865 affects CODESYS Development System 3.5.16. A maliciously crafted file can trigger unsafe deserialization and potentially run commands on the user's system. The main business risk is compromise of engineering workstations if staff open attacker-supplied files.

Executive priority

Treat this as a high-priority engineering workstation risk. It requires user interaction, but successful exploitation can give broad system impact where CODESYS files are trusted operational inputs.

Technical view

The issue is CWE-502 unsafe deserialization in PackageManagement.plugin ExtensionMethods.Clone(). The CVSS 3.0 score is 8.8 with no privileges required, low attack complexity, and user interaction required. Successful exploitation can affect confidentiality, integrity, and availability.

Likely exposure

Organizations using CODESYS Development System 3.5.16 are the known exposed group, especially engineering teams that receive project, package, or support files from outside trusted channels.

Exploitation context

The provided sources say an attacker can provide a malicious file to trigger command execution. CISA KEV status is false, and the bundle does not cite active exploitation.

Researcher notes

The evidence identifies the vulnerable function and unsafe deserialization class, but this bundle does not include exploit maturity, proof-of-concept status, or precise fixed version details.

Mitigation direction

  • Identify installations of CODESYS Development System 3.5.16.
  • Check CODESYS vendor guidance for fixed versions or official mitigations.
  • Restrict opening CODESYS files from untrusted or unauthenticated sources.
  • Use workstation controls to limit impact from unexpected command execution.
  • Prioritize remediation on engineering workstations with external file intake.

Validation and detection

  • Inventory engineering workstations for CODESYS Development System 3.5.16.
  • Confirm whether users receive CODESYS files from vendors, customers, or public channels.
  • Review CODESYS advisory details before marking remediation complete.
  • Check endpoint telemetry for suspicious activity around CODESYS file handling.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-502: Code execution behavior lookup

Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-21865 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (3.0)
Known Exploited
No
Published

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 3.0HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H2.85.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

8.8High
CVSS 3.0 vector shape for CVE-2021-21865Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/aCODESYSCODESYS GmbH CODESYS Development System 3.5.16Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-502 · source CWE mapping

Deserialization of Untrusted Data

Deserialization of Untrusted Data represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.