{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-7993 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-7993 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-7993 is a high-severity use after free vulnerability in HUAWEI Mate 10, published on 31 Jul 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-7993 and fix it if it is affected.\n\nWhat it is: CVE-2018-7993 is a high-severity use after free vulnerability in HUAWEI Mate 10, published on 31 Jul 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-7993 in the wild and no public exploit code.\n\nAffected product: HUAWEI Mate 10. 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-7993/ (Markdown: https://insights.sbomify.com/CVE-2018-7993/index.md)","id":"CVE-2018-7993","markdown":"https://insights.sbomify.com/CVE-2018-7993/index.md","name":"CVE-2018-7993","record":{"aliases":["GHSA-jwg2-h4rx-f4gm"],"analysis":{"component_type":"mobile_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Huawei Mate 10","requires_auth":"none","summary":"A use-after-free flaw in the mediaserver component allows arbitrary code execution via a malicious application on Huawei Mate 10 devices.","user_interaction":"required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"huawei","cpe":[{"product":"mate_10_firmware","vendor":"huawei"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"HUAWEI Mate 10 smartphones with versions earlier than ALP-AL00 8.1.0.311 have a use after free vulnerability on mediaserver component. An attacker tricks the user install a malicious application, which make the software to reference memory after it has been freed. Successful exploit could cause execution of arbitrary code.","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":"Use after free in HUAWEI Mate 10","id":"CVE-2018-7993","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2018"},"n_packages":0,"n_references":1,"next":{"headline":"Denial of service in NGFW Module; NIP6300; NIP6600; NIP6800; Secospace USG6600; USG9500","id":"CVE-2018-7994"},"packages":[],"prev":{"headline":"Memory corruption in MediaPad M3; Mate 9 Pro; P10 Plus","id":"CVE-2018-7992"},"products":["HUAWEI Mate 10"],"published":"2018-07-31","related":[{"cvss_score":8.8,"headline":"Memory corruption in Mate 10","id":"CVE-2017-15311","kev_date_added":null,"published":"2017-12-22"},{"cvss_score":7.8,"headline":"Memory corruption in Mate 10","id":"CVE-2017-17227","kev_date_added":null,"published":"2018-03-09"},{"cvss_score":6.2,"headline":"Privilege escalation in HUAWEI Mate 10;HUAWEI Mate 30;HUAWEI Mate 30 Pro;HUAWEI P40;HUAWEI P40 Pro","id":"CVE-2020-9119","kev_date_added":null,"published":"2020-12-24"},{"cvss_score":5.5,"headline":"Use after free in Huawei Mate10","id":"CVE-2019-5214","kev_date_added":null,"published":"2019-06-06"},{"cvss_score":5.5,"headline":"Use after free in Mate10","id":"CVE-2019-5219","kev_date_added":null,"published":"2019-06-06"},{"cvss_score":5.5,"headline":"Use after free in Mate 10","id":"CVE-2019-5305","kev_date_added":null,"published":"2019-06-06"}],"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":"A use-after-free flaw in the mediaserver component allows arbitrary code execution via a malicious application on Huawei Mate 10 devices.","url":"https://insights.sbomify.com/CVE-2018-7993/"}