Buffer overflow in Hcc-Embedded Interniche

CVE-2021-31226

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 lack of size validation. This vulnerability requires the attacker to send a crafted HTTP POST request with a URI longer than 50 bytes. This leads to a heap overflow in wbs_post() via an strcpy() call.

Vulnerability class: Buffer Overflow

EPSS: 0.032 (86.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Mitigation)
  • cve@mitre.org (US Government Resource, x_refsource_CERT-VN, Third Party Advisory, third-party-advisory)

Frequently asked questions

What is CVE-2021-31226?
CVE-2021-31226 is a critical-severity vulnerability in Hcc-Embedded Interniche, classified under Out-of-bounds Write. CVSS score: 9.8/10. Published 2021-08-19.
How severe is CVE-2021-31226?
Critical severity. CVSS v3 base score is 9.8 out of 10.