{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-7940 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-7940 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-7940 is a medium-severity authentication bypass vulnerability in HUAWEI Mate 10, HUAWEI Mate 10 Pro, published on 10 May 2018. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-7940 and fix it if it is affected.\n\nWhat it is: CVE-2018-7940 is a medium-severity authentication bypass vulnerability in HUAWEI Mate 10, HUAWEI Mate 10 Pro, published on 10 May 2018. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-7940 in the wild and no public exploit code.\n\nAffected product: HUAWEI Mate 10, HUAWEI Mate 10 Pro. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-7940/ (Markdown: https://insights.sbomify.com/CVE-2018-7940/index.md)","id":"CVE-2018-7940","markdown":"https://insights.sbomify.com/CVE-2018-7940/index.md","name":"CVE-2018-7940","record":{"aliases":["GHSA-vqm5-7rwj-fpcv"],"analysis":{"component_type":"mobile_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Huawei smartphone","requires_auth":"high_privilege","summary":"An attacker with high privilege can bypass the activation lock on Huawei Mate 10 devices through specific operations.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"huawei","cpe":[{"product":"mate_9_firmware","vendor":"huawei"},{"product":"mate_9_pro_firmware","vendor":"huawei"}],"cvss":{"score":6.2,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"Huawei smart phones Mate 10 and Mate 10 Pro with earlier versions than 8.0.0.129(SP2C00) and earlier versions than 8.0.0.129(SP2C01) have an authentication bypass vulnerability. An attacker with high privilege obtains the smart phone and bypass the activation function by some specific operations.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Auth bypass in HUAWEI Mate 10, HUAWEI Mate 10 Pro","id":"CVE-2018-7940","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2018"},"n_packages":0,"n_references":1,"next":{"headline":"Auth bypass in iBMC","id":"CVE-2018-7941"},"packages":[],"prev":{"headline":"Security feature bypass in G9 Lite, Honor 5A, Honor 6X, Honor 8","id":"CVE-2018-7939"},"products":["HUAWEI Mate 10, HUAWEI Mate 10 Pro"],"published":"2018-05-10","related":[{"cvss_score":7.8,"headline":"Use after free in Mate 9","id":"CVE-2017-15316","kev_date_added":null,"published":"2017-12-22"},{"cvss_score":7.8,"headline":"Memory corruption in Mate 9","id":"CVE-2017-2716","kev_date_added":null,"published":"2017-11-22"},{"cvss_score":7.8,"headline":"Use after free in Mate 9, Mate 9 Pro","id":"CVE-2017-8142","kev_date_added":null,"published":"2017-11-22"},{"cvss_score":7.1,"headline":"Path traversal in Mate 9","id":"CVE-2017-2706","kev_date_added":null,"published":"2017-11-22"},{"cvss_score":7.1,"headline":"Privilege escalation in Mate 9","id":"CVE-2017-2707","kev_date_added":null,"published":"2017-11-22"},{"cvss_score":6.8,"headline":"Auth bypass in Mate 9","id":"CVE-2017-2702","kev_date_added":null,"published":"2017-11-22"},{"cvss_score":6.8,"headline":"Auth bypass in Mate 9, P9","id":"CVE-2017-2703","kev_date_added":null,"published":"2017-11-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Huawei Technologies Co., Ltd."]},"summary":"An attacker with high privilege can bypass the activation lock on Huawei Mate 10 devices through specific operations.","url":"https://insights.sbomify.com/CVE-2018-7940/"}