{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-1786 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2020-1786 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-1786 is a medium-severity authentication bypass vulnerability in HUAWEI Mate 20 Pro, published on 9 Jan 2020. 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-2020-1786 and fix it if it is affected.\n\nWhat it is: CVE-2020-1786 is a medium-severity authentication bypass vulnerability in HUAWEI Mate 20 Pro, published on 9 Jan 2020. 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-2020-1786 in the wild and no public exploit code.\n\nAffected product: HUAWEI Mate 20 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-2020-1786/ (Markdown: https://insights.sbomify.com/CVE-2020-1786/index.md)","id":"CVE-2020-1786","markdown":"https://insights.sbomify.com/CVE-2020-1786/index.md","name":"CVE-2020-1786","record":{"aliases":["GHSA-4hr7-8p39-3848"],"analysis":{"component_type":"mobile_application","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Huawei smartphone","requires_auth":"none","summary":"Attackers can bypass digital balance restrictions by forging crafted applications due to improper APK name validation on Huawei Mate 20 Pro devices.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"huawei","cpe":[{"product":"mate_20_pro_firmware","vendor":"huawei"}],"cvss":{"score":4.6,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"HUAWEI Mate 20 Pro smartphones versions earlier than 10.0.0.175(C00E69R3P8) have an improper authentication vulnerability. The software does not sufficiently validate the name of apk file in a special condition which could allow an attacker to forge a crafted application as a normal one. Successful exploit could allow the attacker to bypass digital balance function.","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 20 Pro","id":"CVE-2020-1786","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2020"},"n_packages":0,"n_references":1,"next":{"headline":"Auth bypass in HUAWEI Mate 20","id":"CVE-2020-1787"},"packages":[],"prev":{"headline":"Denial of service in Mate 10 Pro;Honor V10;Honor 10;Nova 4","id":"CVE-2020-1785"},"products":["HUAWEI Mate 20 Pro"],"published":"2020-01-09","related":[{"cvss_score":7.8,"headline":"Auth bypass in Mate 20 Pro","id":"CVE-2019-5250","kev_date_added":null,"published":"2019-12-13"},{"cvss_score":3.3,"headline":"Auth bypass in HUAWEI Mate 20 Pro","id":"CVE-2020-9250","kev_date_added":null,"published":"2024-12-20"}],"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-04","vendors":["Huawei"]},"summary":"Attackers can bypass digital balance restrictions by forging crafted applications due to improper APK name validation on Huawei Mate 20 Pro devices.","url":"https://insights.sbomify.com/CVE-2020-1786/"}