CVE-2021-37126 Path traversal in HarmonyOS

High 7.5 Published Updated

Attackers can traverse directories to expose sensitive information in Huawei HarmonyOS, requiring a security patch.

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

CVE-2021-37126 is a high-severity path traversal vulnerability in Huawei Harmonyos, published on 3 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Arbitrary file has a Exposure of Sensitive Information to an Unauthorized Actor vulnerability .Successful exploitation of this vulnerability may cause the directory is traversed.

Weakness: CWE-22

Which versions are affected by CVE-2021-37126?

It affects 1 product.

Products include Huawei Harmonyos.

How do I fix CVE-2021-37126?

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

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

All Huawei Harmonyos vulnerabilities

Sources

Also known as GHSA-pr82-q228-2jmv.

Is CVE-2021-37126 in your software?

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

Check your SBOMs for free