This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy

Security Advisory - Integer overflow Vulnerability in Bastet Driver of Huawei Smart Phone

  • SA No:huawei-sa-20170914-02-smartphone
  • Initial Release Date: Sep 14, 2017
  • Last Release Date: Sep 14, 2017

The Bastet driver of some Huawei smart phones has integer overflow vulnerability due to the lack of parameter validation. An attacker tricks a user into installing a malicious APP which has the root privilege; the APP can send a specific parameter to the driver of the smart phone, causing arbitrary code execution.(Vulnerability ID: HWPSIRT-2017-07092)

This vulnerability has been assigned a Common Vulnerabilities and Exposures (CVE) ID: CVE-2017-8205.

Huawei has released software updates to fix this vulnerability. This advisory is available at the following link:

Product Name

Affected Version

Resolved Product and Version

Honor 9

Versions earlier than Stanford-AL10C00B175


An attacker could exploit this vulnerability to cause arbitrary code execution.

The vulnerability classification has been performed by using the CVSSv3 scoring system (

Base Score: 6.5 (AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H)

Temporal Score: 6.0 (E:F/RL:O/RC:C)

This vulnerability can be exploited only when the following conditions are present:

An attacker tricks a user into installing a malicious application which has the root privilege.

Vulnerability details:

The APP can send a specific parameter to the driver of the smart phone, causing arbitrary code execution.

The product that supports automatic update will receive a system update prompt. You can install the update to fix the vulnerability.

This vulnerability was reported to Huawei PSIRT by Yonggang Guo of IceSword Lab, Qihoo 360 Technology Co. Ltd. Huawei would like to thank Yonggang Guo for working with us and coordinated vulnerability disclosure to protect our customers.

2017-09-14 V1.0 INITAIL

Huawei adheres to protecting the ultimate interests of users with best efforts and the principle of responsible disclosure and deal with product security issues through our response mechanism.

To enjoy Huawei PSIRT services and obtain Huawei product vulnerability information, please visit

To report a security vulnerability in Huawei products and solutions, please send it to For details, please visit

This document is provided on an "AS IS" basis and does not imply any kind of guarantee or warranty, either express or implied, including the warranties of merchantability or fitness for a particular purpose. In no event shall Huawei or any of its directly or indirectly controlled subsidiaries or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. Your use of the document, by whatsoever means, will be totally at your own risk. Huawei is entitled to amend or update this document from time to time.