CVE-2021-31401
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
hcc-embedded nichestackbefore 4.3NVD
siemens sentron_3wl_com35_firmwarebefore 1.2.0NVD
siemens sentron_3wa_com190_firmwarebefore 2.0.0NVD

All scores

NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-31401 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-31401 changed 2026-06-17Public domain