CVE-2021-31227: HCC embedded InterNiche - Buffer Overflow
- Cve: CVE-2021-31227
- Name: HCC embedded InterNiche - Buffer Overflow
- 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.
- Impact: Attackers can cause heap overflow, potentially leading to arbitrary code execution or system crashes.
- Remediation: Update to the latest version of HCC embedded InterNiche or apply security patches addressing this issue.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.0163
- Epss percentile: 0.76721
- Assignee: [email protected]
- Published at: 2021-08-19T11:15:07Z
- Age in days: 1923
- Modified at: 2026-06-17T03:51:28Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-31227
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
References
| Url | Source | Tags |
|---|---|---|
| https://www.forescout.com/blog/new-critical-operational-technology-vulnerabilities-found-on-nichestack/ | nvd | Mitigation, Third Party Advisory |
| https://www.kb.cert.org/vuls/id/608209 | nvd | Third Party Advisory, US Government Resource |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| hcc-embedded:nichestack | < 4.3 | no | nvd | /v1/products/hcc-embedded/nichestack |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts