{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-22098 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-22098 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-22098 is a medium-severity use after free vulnerability in Openatom Openharmony, published on 2 Apr 2024. 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-2024-22098 and fix it if it is affected.\n\nWhat it is: CVE-2024-22098 is a medium-severity use after free vulnerability in Openatom Openharmony, published on 2 Apr 2024. 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-2024-22098 in the wild and no public exploit code.\n\nAffected product: Openatom Openharmony. 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-2024-22098/ (Markdown: https://insights.sbomify.com/CVE-2024-22098/index.md)","id":"CVE-2024-22098","markdown":"https://insights.sbomify.com/CVE-2024-22098/index.md","name":"CVE-2024-22098","record":{"aliases":["GHSA-47g7-w4cj-342g"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OpenHarmony OS","requires_auth":"low_privilege","summary":"A local attacker can achieve arbitrary code execution in any application via a use-after-free vulnerability in OpenHarmony.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"OpenHarmony","cpe":[{"product":"openharmony","vendor":"openatom"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"in OpenHarmony v3.2.4 and prior versions allow a local attacker arbitrary code execution in any apps through use after free.","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":"AVSession has a use after free vulnerability","id":"CVE-2024-22098","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"openatom:openharmony","products":["openatom:openharmony"],"type":"use_after_free","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"NULL pointer deference in rfcomm_check_security in Linux kernel","id":"CVE-2024-22099"},"packages":[],"prev":{"headline":"Use after free in libbiosig","id":"CVE-2024-22097"},"products":["OpenHarmony"],"published":"2024-04-02","related":[{"cvss_score":8.8,"headline":"Liteos_a has a buffer overflow vulnerability","id":"CVE-2025-0303","kev_date_added":null,"published":"2025-02-07"},{"cvss_score":8.8,"headline":"Liteos_a has an use after free vulnerability","id":"CVE-2025-0304","kev_date_added":null,"published":"2025-02-07"},{"cvss_score":8.8,"headline":"Liteos_a has an out-of-bounds write vulnerability","id":"CVE-2024-47398","kev_date_added":null,"published":"2025-01-07"},{"cvss_score":8.8,"headline":"Liteos_a has an use after free vulnerability","id":"CVE-2024-10074","kev_date_added":null,"published":"2024-12-03"},{"cvss_score":8.8,"headline":"Liteos-A has an use after free vulnerability","id":"CVE-2024-41157","kev_date_added":null,"published":"2024-09-02"},{"cvss_score":8.8,"headline":"Liteos-A has an use after free vulnerability","id":"CVE-2024-41160","kev_date_added":null,"published":"2024-09-02"},{"cvss_score":8.4,"headline":"liteos_a has an UAF vulnerability","id":"CVE-2025-24298","kev_date_added":null,"published":"2025-08-11"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["OpenHarmony"]},"summary":"A local attacker can achieve arbitrary code execution in any application via a use-after-free vulnerability in OpenHarmony.","url":"https://insights.sbomify.com/CVE-2024-22098/"}