7.5high
An issue was discovered in tcprcv() in nptcp.c in HCC embedded InterNiche 4.0.1.
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 2.19% (higher than 82% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| hcc-embedded nichestack | before 4.3 | NVD |
| siemens sentron_3wl_com35_firmware | before 1.2.0 | NVD |
| siemens sentron_3wa_com190_firmware | before 2.0.0 | NVD |
All scores
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha detectado un problema en la función tcp_rcv() en el archivo nptcp.c en HCC embedded InterNiche versión 4.0.1. El código de procesamiento del encabezado TCP no sanea el valor del campo de longitud total de IP (longitud del encabezado + longitud de los datos). Con un paquete IP diseñado, se produce un desbordamiento de enteros cuando el valor de la longitud de datos IP se calcula restando la longitud del encabezado de la longitud total del paquete IP.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-31401 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-31401 changed 2026-06-17 | Public domain |