CWE-823Weakness · CWE-823

CVE-2017-20211

HIGH · 8.6 CVSS v4.0 Published 2025-11-12
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
93/100
Remediation priority · Urgent
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
UCanCode E-XD++ Visualization Enterprise Suite contains an untrusted pointer dereference vulnerability via the TKDRAWCAD.TKDrawCADCtrl.1 ActiveX control. This is because it exposes a RotateShape method that dereferences a user-supplied pointer without sufficient validation. A crafted input may cause the control to dereference an attacker-controlled pointer, enabling remote code execution in the context of the hosting process. The vulnerability requires user interaction (instantiation of the ActiveX control via a web page or a file).

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The TKDRAWCAD.TKDrawCADCtrl.1 ActiveX control in UCanCode E-XD++ Visualization Enterprise Suite contains an untrusted pointer dereference vulnerability in its RotateShape method. The method accepts and dereferences a user-supplied pointer without adequate validation, allowing an attacker to control the memory address being accessed. This can lead to arbitrary code execution in the context of the hosting process when the ActiveX control is instantiated via a malicious web page or file.

MitigationOrganizations should disable the vulnerable ActiveX control through browser security settings or registry killbits, avoid browsing untrusted websites or opening untrusted files that could instantiate this control, and contact UCanCode for a patched version of the software.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
Authentication
X
User interaction
A
Scope
X

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check if the ActiveX control is registered on the system
    Open the Windows Registry Editor and navigate to HKEY_CLASSES_ROOT\CLSID. Search for entries containing 'TKDrawCADCtrl' or 'TKDRAWCAD'. The control would be registered under a CLSID such as {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}.
    Affected if The control's CLSID exists in the registry, indicating the ActiveX component is installed.
  2. Verify the vulnerable component is present
    Check the registry key for the component at HKEY_CLASSES_ROOT\TKDRAWCAD.TKDrawCADCtrl.1 or the corresponding CLSID subkey. Look for the 'InprocServer32' entry which confirms the DLL is registered.
    Affected if The component registration exists, meaning the vulnerable ActiveX control is available on the system.
  3. Confirm the control is marked safe for scripting
    Check the registry key HKEY_CLASSES_ROOT\TKDRAWCAD.TKDrawCADCtrl.1\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4} (Safe for Scripting) or HKEY_CLASSES_ROOT\TKDRAWCAD.TKDrawCADCtrl.1\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4} (Safe for Initialization).
    Affected if Either category subkey exists, meaning the browser may permit the control to be instantiated via web pages.
  4. Check if the control has been blocked via killbit
    Examine HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\{CLSID} for a value named 'Kill' with non-zero data, where {CLSID} is the CLSID of the TKDrawCADCtrl.1 control.
    Affected if No Kill value is present or it is set to 0, meaning the control is not blocked from loading in Internet Explorer.
  5. Inspect browser security settings for ActiveX controls
    In Internet Explorer, go to Tools > Internet Options > Security > Custom Level. Check the settings under 'ActiveX controls and plug-ins' specifically 'Run ActiveX controls and plug-ins' and 'Script ActiveX controls marked safe for scripting'.
    Affected if ActiveX controls are enabled or set to Prompt/Enable for the relevant zone, allowing the control to be instantiated.

If the TKDRAWCAD.TKDrawCADCtrl.1 ActiveX control is registered on the system, marked as safe for scripting, not blocked via killbit, and browser settings permit ActiveX execution, the environment is vulnerable to this CVE.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Organizations should disable the vulnerable ActiveX control through browser security settings or registry killbits, avoid browsing untrusted websites or opening untrusted files that could instantiate this control, and contact UCanCode for a patched version of the software.

Have this fixed Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing4.0 h
  • Review / QA2.0 h
18.0 hours of engineering $3,200
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,120.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2017-20211 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2017-20211 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data