CVE-2021-37045 Use after free in EMUI

Critical 9.8 Published Updated

A use-after-free flaw in Huawei mobile operating systems allows attackers to execute kernel-mode code or cause unexpected device restarts.

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-37045?

CVE-2021-37045 is a critical use after free vulnerability in Huawei Emui, published on 8 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

There is an UAF vulnerability in Huawei Smartphone.Successful exploitation of this vulnerability may cause the device to restart unexpectedly and the kernel-mode code to be executed.

Weakness: CWE-416

Which versions are affected by CVE-2021-37045?

It affects 3 products.

Products include Huawei Emui, Huawei Harmonyos, Huawei Magic Ui.

How do I fix CVE-2021-37045?

No fix has been published for CVE-2021-37045 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-37045 being exploited?

There is no known exploitation of CVE-2021-37045 in the wild and no public exploit code.

All Huawei Emui vulnerabilities

Sources

Also known as GHSA-7gx6-8phm-v624.

Is CVE-2021-37045 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free