{"id":"CVE-2021-31227","aliases":["CVE-2021-31227"],"related":[],"kind":"vulnerability","state":"published","title":"An issue was discovered in HCC embedded InterNiche 4.0.1.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2021-08-19T10:50:28.000Z","modified":"2026-06-17T03:51:28.953Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.3"}],"vendor":"hcc-embedded","product":"nichestack","cpe":"cpe:2.3:a:hcc-embedded:nichestack:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.forescout.com/blog/new-critical-operational-technology-vulnerabilities-found-on-nichestack/","tags":["mitigation","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.kb.cert.org/vuls/id/608209","tags":["third-party-advisory","us-government-resource","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-31227","url":"https://www.cve.org/CVERecord?id=CVE-2021-31227","licence":"CVE Terms of Use","modified":"2024-08-03T22:55:53.274Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-31227","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31227","licence":"Public domain","modified":"2026-06-17T03:51:28.953Z"}],"updatedAt":"2026-11-25T22:58:03.322Z","epss":{"score":0.0163,"percentile":0.76931,"date":"2026-12-01T12:00:22.000Z"}}