CVE-2021-31226 Memory corruption in n/a
A heap buffer overflow in HCC embedded InterNiche allows attackers to execute arbitrary code or cause denial of service via crafted HTTP POST requests.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-31226?
CVE-2021-31226 is a critical memory corruption vulnerability in n/a, published on 19 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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 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.
Weakness: CWE-787
Which versions are affected by CVE-2021-31226?
It affects 1 product.
Products include Hcc-Embedded Interniche.
How do I fix CVE-2021-31226?
No fix has been published for CVE-2021-31226 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-31226 being exploited?
There is no known exploitation of CVE-2021-31226 in the wild and no public exploit code.
Sources
Also known as GHSA-3qrq-p37g-j4wm.