CVE-2021-39970 Path traversal in HarmonyOS
Attackers can create arbitrary files with system app permissions due to improper input validation in Huawei HarmonyOS PC Assistant.
- 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-39970?
CVE-2021-39970 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
HwPCAssistant has a Improper Input Validation vulnerability.Successful exploitation of this vulnerability may create any file with the system app permission.
Weakness: CWE-22
Which versions are affected by CVE-2021-39970?
It affects 1 product.
Products include Huawei Harmonyos.
How do I fix CVE-2021-39970?
No fix has been published for CVE-2021-39970 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-39970 being exploited?
There is no known exploitation of CVE-2021-39970 in the wild and no public exploit code.
Other vulnerabilities in Huawei Harmonyos
Sources
Also known as GHSA-vw4v-5rx7-vg3q.