CWE
20
Advisory Published
Updated

CVE-2021-40017: Input Validation

First published: Fri Sep 16 2022(Updated: )

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.

Credit: psirt@huawei.com

Affected SoftwareAffected VersionHow to fix
Huawei EMUI=11.0.1
Huawei EMUI=12.0.0
Huawei HarmonyOS=2.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-40017?

    The severity of CVE-2021-40017 is classified as high due to its potential for out-of-bounds memory access.

  • How do I fix CVE-2021-40017?

    To fix CVE-2021-40017, update your device to the latest version of Huawei Emui or HarmonyOS that addresses this vulnerability.

  • What systems are affected by CVE-2021-40017?

    CVE-2021-40017 affects Huawei Emui versions 11.0.1 and 12.0.0, as well as HarmonyOS version 2.0.

  • What could be the impact of CVE-2021-40017?

    Exploitation of CVE-2021-40017 may lead to unauthorized memory access, potentially allowing an attacker to manipulate or leak sensitive information.

  • Is CVE-2021-40017 a hardware or software vulnerability?

    CVE-2021-40017 is a software vulnerability found in the HW_KEYMASTER module of Huawei's operating systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203