CVE-2021-31887
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 · uneditedA vulnerability has been identified in APOGEE MBC (PPC) (BACnet) (All versions), APOGEE MBC (PPC) (P2 Ethernet) (All versions), APOGEE MEC (PPC) (BACnet) (All versions), APOGEE MEC (PPC) (P2 Ethernet) (All versions), APOGEE PXC Compact (BACnet) (All versions < V3.5.4), APOGEE PXC Compact (P2 Ethernet) (All versions < V2.8.19), APOGEE PXC Modular (BACnet) (All versions < V3.5.4), APOGEE PXC Modular (P2 Ethernet) (All versions < V2.8.19), Desigo PXC00-E.D (All versions >= V2.3 and < V6.30.016), Desigo PXC00-U (All versions >= V2.3 and < V6.30.016), Desigo PXC001-E.D (All versions >= V2.3 and < V6.30.016), Desigo PXC100-E.D (All versions >= V2.3 and < V6.30.016), Desigo PXC12-E.D (All versions >= V2.3 and < V6.30.016), Desigo PXC128-U (All versions >= V2.3 and < V6.30.016), Desigo PXC200-E.D (All versions >= V2.3 and < V6.30.016), Desigo PXC22-E.D (All versions >= V2.3 and < V6.30.016), Desigo PXC22.1-E.D (All versions >= V2.3 and < V6.30.016), Desigo PXC36.1-E.D (All versions >= V2.3 and < V6.30.016), Desigo PXC50-E.D (All versions >= V2.3 and < V6.30.016), Desigo PXC64-U (All versions >= V2.3 and < V6.30.016), Desigo PXM20-E (All versions >= V2.3 and < V6.30.016), Nucleus NET (All versions), Nucleus ReadyStart V3 (All versions < V2017.02.4), Nucleus Source Code (All versions), TALON TC Compact (BACnet) (All versions < V3.5.4), TALON TC Modular (BACnet) (All versions < V3.5.4). FTP server does not properly validate the length of the “PWD/XPWD” command, leading to stack-based buffer overflows. This may result in Denial-of-Service conditions and Remote Code Execution. (FSMD-2021-0016)
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 FTP server component in affected Siemens building automation controllers (APOGEE, Desigo, Nucleus, TALON) fails to properly validate the length of the PWD/XPWD command argument, leading to a stack-based buffer overflow. An unauthenticated attacker sending a specially crafted PWD/XPWD command with excessive length can overwrite stack memory, potentially achieving remote code execution or causing denial of service.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE dataall versions< 2017.02.4all versionsall versionsall versions< 2.8.19< 3.5.4< 2.8.19< 3.5.4< 3.5.4CVSS 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
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
-
Identify the product modelLocate the device model number on the physical device label or in the device's web interface or management console. Common models include APOGEE PXC (Compact or Modular), Modular Building Controller, Modular Equipment Controller, TALON TC Compact, or Nucleus-based devices.Affected if The model matches any of the following: APOGEE PXC Compact, APOGEE PXC Modular, APOGEE Modular Building Controller, APOGEE Modular Equipment Controller, TALON TC Compact, or any Nucleus-based device (Nucleus Net, Nucleus Readystart).
-
Verify FTP service is enabledCheck the device configuration through its management web interface, console, or network scan for open port 21 (FTP). Consult the device administration manual for the specific method to confirm FTP service status.Affected if FTP server is enabled and listening on the network. The vulnerability is not exploitable if FTP is disabled.
-
Check firmware version against affected rangesRetrieve the installed firmware version from the device's web interface, management console, or via SNMP/management protocol as documented in the device manual. Compare the version number to the affected ranges.Affected if The firmware version is any of the following: Nucleus Readystart V3 older than 2017.02.4; APOGEE PXC Compact or Modular older than 2.8.19 or older than 3.5.4; TALON TC Compact older than 3.5.4; or any version of Nucleus Net, Nucleus Source Code, APOGEE Modular Building Controller, or APOGEE Modular
-
Confirm device is network accessibleVerify the device has an IP address and is reachable on the network. Determine if the FTP port (21/TCP) is exposed to the network or only accessible from a restricted management VLAN.Affected if The device FTP service is accessible from network segments where unauthenticated attackers could reach it. The flaw is exploitable remotely if FTP is exposed.
A user is affected if they have a vulnerable Nucleus or APOGEE/TALON device with FTP enabled, running a firmware version below the fixed releases (2017.02.4 for Nucleus, 2.8.19/3.5.4 for APOGEE PXC, 3.5.4 for TALON), and the FTP service is network-accessible.
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.
dbcve · scoped2.8.193.5.42017.02.4
Apply available vendor firmware updates to the fixed versions specified (e.g., APOGEE PXC to V3.5.4/V2.8.19, Nucleus to V2017.02.4, Desigo to V6.30.016). For products with no patch available or where FTP is not operationally required, disable the FTP service and restrict network access to these devices.
Nucleus ReadyStart V3: V2017.02.4; Apogee PXC Compact/Modular: V2.8.19 or V3.5.4 (depending on protocol); Talon TC: V3.5.4
- 1. Identify the specific product and firmware version in use from the affected product list.
- 2. For Nucleus ReadyStart V3: upgrade to version 2017.02.4 or later.
- 3. For Apogee PXC Compact (BACnet): upgrade to version 3.5.4 or later.
- 4. For Apogee PXC Compact (P2 Ethernet): upgrade to version 2.8.19 or later.
- 5. For Apogee PXC Modular (BACnet): upgrade to version 3.5.4 or later.
- 6. For Apogee PXC Modular (P2 Ethernet): upgrade to version 2.8.19 or later.
- 7. For Talon TC Compact (BACnet): upgrade to version 3.5.4 or later.
- 8. For Talon TC Modular (BACnet): upgrade to version 3.5.4 or later.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation12.0 h
- Implementation20.0 h
- Testing12.0 h
- Review / QA8.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $14,784.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2021-31887 — 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-2021-31887 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