# CVE-2021-31401: An issue was discovered in tcprcv() in nptcp.c in HCC embedded InterNiche 4.0.1.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.19%, higher than 82% of CVEs (2026-12-01)
- Published: 2021-08-19T11:25:42.000Z
- Modified: 2026-06-17T03:51:42.607Z
- Weaknesses: CWE-20
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- hcc-embedded nichestack: before 4.3
- siemens sentron_3wl_com35_firmware: before 1.2.0
- siemens sentron_3wa_com190_firmware: before 2.0.0

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://cert-portal.siemens.com/productcert/pdf/ssa-789208.pdf> (mitigation, third-party-advisory)
- <https://www.forescout.com/blog/new-critical-operational-technology-vulnerabilities-found-on-nichestack/> (mitigation, third-party-advisory)
- <https://www.kb.cert.org/vuls/id/608209> (third-party-advisory, us-government-resource)

## Sources

- CVE List: [CVE-2021-31401](https://www.cve.org/CVERecord?id=CVE-2021-31401), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31401](https://nvd.nist.gov/vuln/detail/CVE-2021-31401), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31401 · Whole record: https://cve.day/CVE-2021-31401.json · Rebuilt by cve.day 2026-11-25T22:58:03.323Z
