{"answers":{"affected":"It affects 15 products.","exploited":"There is no known exploitation of CVE-2021-30315 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-30315 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-30315 is a high-severity use after free vulnerability in Qualcomm Mdm9628 Firmware, published on 20 Oct 2021. 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-2021-30315 and fix it if it is affected.\n\nWhat it is: CVE-2021-30315 is a high-severity use after free vulnerability in Qualcomm Mdm9628 Firmware, published on 20 Oct 2021. 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-2021-30315 in the wild and no public exploit code.\n\nAffected product: Qualcomm Mdm9628 Firmware. 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-2021-30315/ (Markdown: https://insights.sbomify.com/CVE-2021-30315/index.md)","id":"CVE-2021-30315","markdown":"https://insights.sbomify.com/CVE-2021-30315/index.md","name":"CVE-2021-30315","record":{"aliases":["GHSA-9pvh-c588-vggr"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Snapdragon Auto firmware","requires_auth":"none","summary":"Attackers can exploit a use-after-free flaw in Snapdragon Auto sensor HAL to potentially execute arbitrary code or escalate privileges.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"qualcomm","cpe":[{"product":"mdm9628_firmware","vendor":"qualcomm"},{"product":"qca6564a_firmware","vendor":"qualcomm"},{"product":"qca6564au_firmware","vendor":"qualcomm"},{"product":"qca6574_firmware","vendor":"qualcomm"},{"product":"qca6574a_firmware","vendor":"qualcomm"},{"product":"qca6574au_firmware","vendor":"qualcomm"},{"product":"qca6595_firmware","vendor":"qualcomm"},{"product":"qca6595au_firmware","vendor":"qualcomm"},{"product":"qca6696_firmware","vendor":"qualcomm"},{"product":"sa6155_firmware","vendor":"qualcomm"},{"product":"sa6155p_firmware","vendor":"qualcomm"},{"product":"sa8150p_firmware","vendor":"qualcomm"},{"product":"sa8155_firmware","vendor":"qualcomm"},{"product":"sa8155p_firmware","vendor":"qualcomm"},{"product":"sa8195p_firmware","vendor":"qualcomm"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"Improper handling of sensor HAL structure in absence of sensor can lead to use after free in Snapdragon Auto","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 Snapdragon Auto","id":"CVE-2021-30315","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"qualcomm:mdm9628_firmware","products":["qualcomm:mdm9628_firmware","qualcomm:qca6564a_firmware","qualcomm:qca6564au_firmware","qualcomm:qca6574_firmware","qualcomm:qca6574a_firmware","qualcomm:qca6574au_firmware","qualcomm:qca6595_firmware","qualcomm:qca6595au_firmware","qualcomm:qca6696_firmware","qualcomm:sa6155_firmware","qualcomm:sa6155p_firmware","qualcomm:sa8150p_firmware","qualcomm:sa8155_firmware","qualcomm:sa8155p_firmware","qualcomm:sa8195p_firmware"],"type":"use_after_free","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in Snapdragon Auto, Snapdragon Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile, Snapdragon Wearables","id":"CVE-2021-30316"},"packages":[],"prev":{"headline":"Information disclosure in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile, Snapdragon Wearables","id":"CVE-2021-30314"},"products":["Snapdragon Auto"],"published":"2021-10-20","related":[{"cvss_score":8.2,"headline":"Buffer Over-read in WLAN Host Communication","id":"CVE-2024-33064","kev_date_added":null,"published":"2024-10-07"},{"cvss_score":7.5,"headline":"Buffer Over-read in WLAN Host Communication","id":"CVE-2024-33070","kev_date_added":null,"published":"2024-10-07"},{"cvss_score":7.5,"headline":"Buffer Over-read in WLAN Host Communication","id":"CVE-2024-33071","kev_date_added":null,"published":"2024-10-07"},{"cvss_score":6.6,"headline":"Out-of-bounds Write in Audio","id":"CVE-2024-45581","kev_date_added":null,"published":"2025-05-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-03","vendors":["Qualcomm, Inc."]},"summary":"Attackers can exploit a use-after-free flaw in Snapdragon Auto sensor HAL to potentially execute arbitrary code or escalate privileges.","url":"https://insights.sbomify.com/CVE-2021-30315/"}