{"id":"CVE-2021-31227","aliases":["EUVD-2021-18140","GHSA-29fm-9qqr-x2gp"],"status":"published","title":"An issue was discovered in HCC embedded InterNiche 4.0.1. A potential heap buffer overflow exists...","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01675,"percentile":0.77199,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2021-08-19T10:50:28Z","modified":"2026-06-17T03:51:28Z","products":[{"vendor":"hcc-embedded","product":"nichestack"}],"references":[{"url":"https://www.forescout.com/blog/new-critical-operational-technology-vulnerabilities-found-on-nichestack/","tags":["x_refsource_MISC","x_transferred","Mitigation","Third Party Advisory"]},{"url":"https://www.kb.cert.org/vuls/id/608209","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","US Government Resource"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31227"},{"url":"https://github.com/advisories/GHSA-29fm-9qqr-x2gp"}],"sources":{"cve":[{"id":"CVE-2021-31227","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.","status":"published","published":"2021-08-19T10:50:28Z","modified":"2024-08-03T22:55:53.274Z","updated_at":"2026-11-02T14:33:05.665371Z"}],"euvd":[{"id":"EUVD-2021-18140","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.","status":"published","published":"2021-08-19T10:50:28Z","modified":"2024-08-03T22:55:53Z","updated_at":"2026-11-03T03:24:39.559154Z"}],"ghsa":[{"id":"GHSA-29fm-9qqr-x2gp","title":"An issue was discovered in HCC embedded InterNiche 4.0.1. A potential heap buffer overflow exists...","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.","status":"published","published":"2022-05-24T19:11:42Z","modified":"2023-01-30T05:01:35Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:46:26.483285Z"}],"nvd":[{"id":"CVE-2021-31227","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.","status":"published","published":"2021-08-19T11:15:07.62Z","modified":"2026-06-17T03:51:28.953Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:57.318236Z"}]}}
