CVE-2017-20211
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 · uneditedUCanCode 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 confidenceThe 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.
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 checksWork through these to decide whether this CVE applies to you.
-
Check if the ActiveX control is registered on the systemOpen 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.
-
Verify the vulnerable component is presentCheck 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.
-
Confirm the control is marked safe for scriptingCheck 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.
-
Check if the control has been blocked via killbitExamine 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.
-
Inspect browser security settings for ActiveX controlsIn 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.
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 dataOrganizations 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.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2017-20211 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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