CVE-2021-22387 Code injection in EMUI

Critical 9.8 Published Updated

Attackers can remotely execute commands on Huawei smartphones due to improper control of dynamic code resources.

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

CVE-2021-22387 is a critical code injection vulnerability in Huawei Emui, published on 2 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

There is an Improper Control of Dynamically Managing Code Resources Vulnerability in Huawei Smartphone.Successful exploitation of this vulnerability may allow attempts to remotely execute commands.

Weakness: CWE-913

Which versions are affected by CVE-2021-22387?

It affects 2 products.

Products include Huawei Emui, Huawei Magic Ui.

How do I fix CVE-2021-22387?

No fix has been published for CVE-2021-22387 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-22387 being exploited?

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

All Huawei Emui vulnerabilities

Sources

Also known as GHSA-q72c-36c3-whh7.

Is CVE-2021-22387 in your software?

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

Check your SBOMs for free