# CVE-2021-31227: An issue was discovered in HCC embedded InterNiche 4.0.1.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.63%, higher than 76% of CVEs (2026-12-01)
- Published: 2021-08-19T10:50:28.000Z
- Modified: 2026-06-17T03:51:28.953Z
- Weaknesses: CWE-787
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- hcc-embedded nichestack: before 4.3

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://www.forescout.com/blog/new-critical-operational-technology-vulnerabilities-found-on-nichestack/> (mitigation, third-party-advisory)
- <https://www.kb.cert.org/vuls/id/608209> (third-party-advisory, us-government-resource)

## Sources

- CVE List: [CVE-2021-31227](https://www.cve.org/CVERecord?id=CVE-2021-31227), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31227](https://nvd.nist.gov/vuln/detail/CVE-2021-31227), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31227 · Whole record: https://cve.day/CVE-2021-31227.json · Rebuilt by cve.day 2026-11-25T22:58:03.322Z
