CVE-2021-31401 in Hcc-Embedded Nichestack and 6 more products
An issue was discovered in tcp_rcv() in nptcp.c in HCC embedded InterNiche 4.0.1. The TCP header processing code doesn't sanitize the value of the IP total length field (header length + data length). With a crafted IP packet, an integer overflow occurs whenever the value of the IP data length is calculated by subtracting the length of the header from the total length of the IP packet.
Affects 7 products from 4 vendors. Description from NVD and MITRE.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Hcc-Embedded | Nichestack | < 4.3 |
| Rockwell Automation | — | — |
| Schneider-Electric | — | — |
| Siemens | SENTRON 3WA COM190 (device and firmware) | < 2.0.0 |
| Siemens | 7KM Pac Switched Ethernet Profinet Expansion Module (device and firmware) | < 2.1.6 ≥ 3, < 3.0.4 |
| Siemens | SENTRON 3WL COM35 (device and firmware) | < 1.2.0 |
| Phoenixcontact | Axc 1050 Firmware | All versions |
| Phoenixcontact | Ilc1X0 Firmware | All versions |
| Phoenixcontact | Ilc1X1 Firmware | All versions |
Fix and vendor advisory
- InterNiche stack: All versions prior to v4.3, NicheLite: All versions prior to v4.3: HCC recommends users apply release v4.3 or later to mitigate these vulnerabilities. For more information, contact HCC.
Source: ICSA-21-217-01
- SENTRON 3WA COM190: Update to V2.0.0 or later version
- SENTRON 3WL COM35: Update to V1.2.0 or later version
- SENTRON 7KM PAC Switched Ethernet PROFINET Expansion Module (7KM9300-0AE01-0AA0): Update to V2.1.6 or later version
- SENTRON 7KM PAC Switched Ethernet PROFINET Expansion Module (7KM9300-0AE02-0AA0): Update to V3.0.4 or later version
Source: SSA-789208
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2021-31401 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-267000-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2021-08-19 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement network segmentation and apply egress filtering to prevent crafted packets from reaching the affected systems.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.