CVE-2021-37021 Memory corruption in HarmonyOS
A stack-based buffer overflow in Huawei HarmonyOS allows attackers to perform out-of-bounds reads, potentially exposing sensitive memory data.
- 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-37021?
CVE-2021-37021 is a critical memory corruption vulnerability in Huawei Emui, published on 7 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
There is a Stack-based Buffer Overflow vulnerability in Huawei Smartphone.Successful exploitation of this vulnerability may lead to Out-of-bounds read.
Weakness: CWE-787
Which versions are affected by CVE-2021-37021?
It affects 3 products.
Products include Huawei Emui, Huawei Harmonyos, Huawei Magic Ui.
How do I fix CVE-2021-37021?
No fix has been published for CVE-2021-37021 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-37021 being exploited?
There is no known exploitation of CVE-2021-37021 in the wild and no public exploit code.
Other vulnerabilities in Huawei Emui
Sources
Also known as GHSA-f83w-p3hx-66hc.