Buffer overflow in Hcc-Embedded Nichestack

CVE-2021-31227

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.

Vulnerability class: Buffer Overflow

EPSS: 0.017 (74.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Mitigation)
  • cve@mitre.org (US Government Resource, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2021-31227?
CVE-2021-31227 is a high-severity vulnerability in Hcc-Embedded Nichestack, classified under Out-of-bounds Write. CVSS score: 7.5/10. Published 2021-08-19.
How severe is CVE-2021-31227?
High severity. CVSS v3 base score is 7.5 out of 10.