CVE-2021-31227
JSON

7.5high

An issue was discovered in HCC embedded InterNiche 4.0.1.

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
1.63% (higher than 76% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

An issue was discovered in HCC embedded InterNiche 4.0.1. A potential heap buffer overflow exists in the code that parses the HTTP POST request, due to an incorrect signed integer comparison. This vulnerability requires the attacker to send a malformed HTTP packet with a negative Content-Length, which bypasses the size checks and results in a large heap overflow in the wbs_multidata buffer copy.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
hcc-embedded nichestackbefore 4.3NVD

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 HCC embedded InterNiche 4.0.1. A potential heap buffer overflow exists in the code that parses the HTTP POST request, due to an incorrect signed integer comparison. This vulnerability requires the attacker to send a malformed HTTP packet with a negative Content-Length, which bypasses the size checks and results in a large heap overflow in the wbs_multidata buffer copy.

NVD (es)

Se ha detectado un problema en HCC embedded InterNiche versión 4.0.1. Se presenta un potencial desbordamiento del búfer de la pila en el código que analiza la petición HTTP POST, debido a una comparación incorrecta de enteros con signo. Esta vulnerabilidad requiere que el atacante envíe un paquete HTTP malformado con un Content-Length negativo, que omita las comprobaciones de tamaño y resulte en un gran desbordamiento de la pila en la copia del buffer wbs_multidata.

References

Sources

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