CVE-2021-31227 Memory corruption in n/a
A heap buffer overflow in HCC embedded InterNiche allows attackers to execute code or cause denial of service via malformed 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-31227?
CVE-2021-31227 is a high-severity 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 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.
Weakness: CWE-787
Which versions are affected by CVE-2021-31227?
It affects 1 product.
Products include Hcc-Embedded Nichestack.
How do I fix CVE-2021-31227?
No fix has been published for CVE-2021-31227 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-31227 being exploited?
There is no known exploitation of CVE-2021-31227 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-29fm-9qqr-x2gp.