CVE-2021-40017
CRITICALCVSS 9.8/10EPSS 0.53%
Last modified
CVE-2021-40017 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. The HW_KEYMASTER module lacks the validity check of the key format. Successful exploitation of this vulnerability may result in out-of-bounds memory access.. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
Description
The HW_KEYMASTER module lacks the validity check of the key format. Successful exploitation of this vulnerability may result in out-of-bounds memory access.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Huawei | Emui | 11.0.1 |
| Huawei | Emui | 12.0.0 |
| Huawei | Harmonyos | 2.0 |
References
- https://consumer.huawei.com/en/support/bulletin/2022/10/Vendor Advisory
- https://consumer.huawei.com/en/support/bulletin/2022/10/Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-40017?
The HW_KEYMASTER module lacks the validity check of the key format. Successful exploitation of this vulnerability may result in out-of-bounds memory access.
How severe is CVE-2021-40017?
CVE-2021-40017 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 0.53% probability of exploitation in the next 30 days.
How do I fix CVE-2021-40017?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-40011There is an uncontrolled resource consumption vulnerability …7.5
- CVE-2021-40012Vulnerability of pointers being incorrectly used during data…7.5
- CVE-2021-40013Improper permission control vulnerability in the Bluetooth m…6.5
- CVE-2021-40014The bone voice ID trusted application (TA) has a heap overfl…7.5
- CVE-2021-40015There is a race condition vulnerability in the binder driver…4.7
- CVE-2021-40016Improper permission control vulnerability in the Bluetooth m…6.5
- CVE-2021-40018The eID module has a null pointer reference vulnerability. S…7.5
- CVE-2021-40019Out-of-bounds heap read vulnerability in the HW_KEYMASTER mo…9.1
- CVE-2021-4002A memory leak flaw in the Linux kernel's hugetlbfs memory us…4.4
- CVE-2021-40020There is an Out-of-bounds array read vulnerability in the se…7.5
- CVE-2021-40021The eID module has an out-of-bounds memory write vulnerabili…7.5
- CVE-2021-40022The weaver module has a vulnerability in parameter type veri…7.5
Are you affected by CVE-2021-40017?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
