CVE-2021-22425 Use after free in HarmonyOS
Local attackers can exploit a double free vulnerability in HarmonyOS to achieve root privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-22425?
CVE-2021-22425 is a high-severity use after free vulnerability in Huawei Harmonyos, published on 3 Aug 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A component of the HarmonyOS has a Double Free vulnerability. Local attackers may exploit this vulnerability to cause Root Elevating Privileges.
Weakness: CWE-415
Which versions are affected by CVE-2021-22425?
It affects 1 product.
Products include Huawei Harmonyos.
How do I fix CVE-2021-22425?
No fix has been published for CVE-2021-22425 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2021-22425 being exploited?
There is no known exploitation of CVE-2021-22425 in the wild and no public exploit code.
Other vulnerabilities in Huawei Harmonyos
Sources
Also known as GHSA-gjjr-qmjq-gw5c.