What’s Vulnerable › Vulnerabilities
CVE-2021-31227
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-08-19 · updated 2026-06-17
- Weakness: CWE-787
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 products
- Hcc-Embedded Nichestack: before 4.3 — fixed in 4.3
How to fix
Upgrade to a fixed version: Hcc-Embedded Nichestack 4.3. Check the vendor advisory for mitigations.
References
- https://www.forescout.com/blog/new-critical-operational-technology-vulnerabilities-found-on-nichestack/
- https://www.kb.cert.org/vuls/id/608209
- https://www.forescout.com/blog/new-critical-operational-technology-vulnerabilities-found-on-nichestack/
- https://www.kb.cert.org/vuls/id/608209
Get alerted when CVE-2021-31227 or the next vulnerability affects your stack