{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-45118 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-45118 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-45118 is a medium-severity vulnerability in OpenHarmony, published on 8 Dec 2022. 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-2022-45118 and fix it if it is affected.\n\nWhat it is: CVE-2022-45118 is a medium-severity vulnerability in OpenHarmony, published on 8 Dec 2022. 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-2022-45118 in the wild and no public exploit code.\n\nAffected product: 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-2022-45118/ (Markdown: https://insights.sbomify.com/CVE-2022-45118/index.md)","id":"CVE-2022-45118","markdown":"https://insights.sbomify.com/CVE-2022-45118/index.md","name":"CVE-2022-45118","record":{"aliases":["GHSA-prq4-rjxr-m2fq"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OpenHarmony OS","requires_auth":"none","summary":"Malicious apps can access sensitive telephony data like mobile numbers and SMS by listening to unprotected public events in OpenHarmony.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"OpenHarmony","cpe":[{"product":"openharmony","vendor":"openharmony"}],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"},{"id":"CWE-287","name":"Improper Authentication"}],"description":"OpenHarmony-v3.1.2 and prior versions had a vulnerability that telephony in communication subsystem sends public events with personal data, but the permission is not set. Malicious apps could listen to public events and obtain information such as mobile numbers and SMS data without permissions.","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":"Telephony in communication subsystem sends public events with personal data, but the permission is not set.","id":"CVE-2022-45118","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2022-45119"},"packages":[],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority because it is Unused","id":"CVE-2022-45117"},"products":["OpenHarmony"],"published":"2022-12-08","related":[{"cvss_score":8.8,"headline":"Auth bypass in OpenHarmony","id":"CVE-2022-38700","kev_date_added":null,"published":"2022-09-09"},{"cvss_score":8.4,"headline":"Multiple path traversal in appspawn and nwebspawn services.","id":"CVE-2022-43451","kev_date_added":null,"published":"2022-11-03"},{"cvss_score":8.4,"headline":"Missing authorization in OpenHarmony","id":"CVE-2022-42488","kev_date_added":null,"published":"2022-10-14"},{"cvss_score":8.3,"headline":"Weak cryptography in OpenHarmony","id":"CVE-2022-45877","kev_date_added":null,"published":"2022-12-08"},{"cvss_score":8.3,"headline":"Auth bypass in OpenHarmony","id":"CVE-2022-42463","kev_date_added":null,"published":"2022-10-14"},{"cvss_score":6.7,"headline":"Privilege escalation in OpenHarmony","id":"CVE-2022-42464","kev_date_added":null,"published":"2022-10-14"},{"cvss_score":6.5,"headline":"An abnormal packet recieved when distributedhardware_device_manager joining a network could cause a device reboot.","id":"CVE-2022-43495","kev_date_added":null,"published":"2022-11-03"}],"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-03","vendors":["OpenHarmony"]},"summary":"Malicious apps can access sensitive telephony data like mobile numbers and SMS by listening to unprotected public events in OpenHarmony.","url":"https://insights.sbomify.com/CVE-2022-45118/"}