CVE-2021-31401
CVE-2021-31401 is a high-severity vulnerability in Hcc-embedded Nichestack with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 5.0
- EPSS exploit prediction: 2% (81st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-20
- Affected product: Hcc-embedded Nichestack
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2021-31401?
- 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.
- How severe is CVE-2021-31401?
- CVE-2021-31401 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2021-31401 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (81st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-31401?
- CVE-2021-31401 primarily affects Hcc-embedded Nichestack. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-31401?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-31401 published?
- CVE-2021-31401 was published on 2021-08-19 and last updated on 2026-06-17.
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-789208.pdf
- https://www.forescout.com/blog/new-critical-operational-technology-vulnerabilities-found-on-nichestack/
- https://www.kb.cert.org/vuls/id/608209
Affected products (3)
- cpe:2.3:a:hcc-embedded:nichestack:*:*:*:*:*:*:*:*
- cpe:2.3:o:siemens:sentron_3wl_com35_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:siemens:sentron_3wa_com190_firmware:*:*:*:*:*:*:*:*
More vulnerabilities in Hcc-embedded Nichestack
- CVE-2020-35685 — Critical (CVSS 9.1): An issue was discovered in HCC Nichestack 3.0. The code that generates Initial Sequence Numbers (ISNs) for TCP…
- CVE-2021-36762 — High (CVSS 7.5): An issue was discovered in HCC Embedded InterNiche NicheStack through 4.3. The tfshnd():tftpsrv.c TFTP packet…
- CVE-2021-27565 — High (CVSS 7.5): The web server in InterNiche NicheStack through 4.0.1 allows remote attackers to cause a denial of service (infinite…
- CVE-2020-35684 — High (CVSS 7.5): An issue was discovered in HCC Nichestack 3.0. The code that parses TCP packets relies on an unchecked value of the IP…
- CVE-2020-35683 — High (CVSS 7.5): An issue was discovered in HCC Nichestack 3.0. The code that parses ICMP packets relies on an unchecked value of the IP…
- CVE-2021-31400 — High (CVSS 7.5): An issue was discovered in tcp_pulloutofband() in tcp_in.c in HCC embedded InterNiche 4.0.1. The TCP out-of-band…
All CVEs affecting Hcc-embedded Nichestack →
Other CWE-20 (Improper Input Validation) vulnerabilities
- CVE-2026-48316 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48281 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48277 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48055 — Critical (CVSS 10.0): Streambert is a cross-platform Electron Desktop App to stream and download any video media. In versions 2.4.0 and…
- CVE-2026-34910 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS…
- CVE-2026-33587 — Critical (CVSS 10.0): Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and…
Browse all CWE-20 (Improper Input Validation) vulnerabilities →