CVE-2021-22478 Use after free in HarmonyOS

Medium 5.5 Published Updated

A use-after-free vulnerability in a HarmonyOS module interface allows attackers to leak sensitive information.

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

CVE-2021-22478 is a medium-severity use after free vulnerability in Huawei Harmonyos, published on 25 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The interface of a certain HarmonyOS module has a UAF vulnerability. Successful exploitation of this vulnerability may lead to information leakage.

Weakness: CWE-416

Which versions are affected by CVE-2021-22478?

It affects 1 product.

Products include Huawei Harmonyos.

How do I fix CVE-2021-22478?

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

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

All Huawei Harmonyos vulnerabilities

Sources

Also known as GHSA-755m-qxfv-m3wr.

Is CVE-2021-22478 in your software?

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

Check your SBOMs for free