CVE-2021-40021 Memory corruption in HarmonyOS
An out-of-bounds memory write in the HarmonyOS eID module allows attackers to compromise data confidentiality.
- 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-40021?
CVE-2021-40021 is a high-severity memory corruption vulnerability in Huawei Harmonyos, published on 7 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The eID module has an out-of-bounds memory write vulnerability,Successful exploitation of this vulnerability may affect data confidentiality.
Weakness: CWE-787
Which versions are affected by CVE-2021-40021?
It affects 1 product.
Products include Huawei Harmonyos.
How do I fix CVE-2021-40021?
No fix has been published for CVE-2021-40021 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-40021 being exploited?
There is no known exploitation of CVE-2021-40021 in the wild and no public exploit code.
Other vulnerabilities in Huawei Harmonyos
Sources
Also known as GHSA-6f45-87x7-3v2q.