CVE-2021-37079 Path traversal in HarmonyOS

Critical 9.1 Published Updated

An attacker with system_app permission can delete arbitrary files on Huawei HarmonyOS devices due to improper input validation.

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

CVE-2021-37079 is a critical path traversal vulnerability in Huawei Harmonyos, published on 7 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

There is a Improper Input Validation vulnerability in Huawei Smartphone.Successful exploitation of this vulnerability may lead to delete arbitrary file by system_app permission.

Weakness: CWE-94

Which versions are affected by CVE-2021-37079?

It affects 1 product.

Products include Huawei Harmonyos.

How do I fix CVE-2021-37079?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-37079 being exploited?

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

All Huawei Harmonyos vulnerabilities

Sources

Also known as GHSA-hr74-2257-g4wm.

Is CVE-2021-37079 in your software?

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

Check your SBOMs for free