{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-45877 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-45877 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-45877 is a high-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-45877 and fix it if it is affected.\n\nWhat it is: CVE-2022-45877 is a high-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-45877 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-45877/ (Markdown: https://insights.sbomify.com/CVE-2022-45877/index.md)","id":"CVE-2022-45877","markdown":"https://insights.sbomify.com/CVE-2022-45877/index.md","name":"CVE-2022-45877","record":{"aliases":["GHSA-mqqf-3x7j-j33m"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["security_bypass","account_takeover"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OpenHarmony OS","requires_auth":"none","summary":"OpenHarmony transmits PIN codes in plain text during cross-device authentication, enabling man-in-the-middle attacks to bypass security controls.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"OpenHarmony","cpe":[{"product":"openharmony","vendor":"openharmony"}],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-319","name":"Cleartext Transmission of Sensitive Information"},{"id":"CWE-287","name":"Improper Authentication"}],"description":"OpenHarmony-v3.1.4 and prior versions had an vulnerability. PIN code is transmitted to the peer device in plain text during cross-device authentication, which reduces the difficulty of man-in-the-middle attacks.","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":"Weak cryptography in OpenHarmony","id":"CVE-2022-45877","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority because it is Unused","id":"CVE-2022-45878"},"packages":[],"prev":{"headline":"CVE-2022-45876","id":"CVE-2022-45876"},"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":"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":"total"},"state":"PUBLISHED","updated":"2024-08-03","vendors":["OpenHarmony"]},"summary":"OpenHarmony transmits PIN codes in plain text during cross-device authentication, enabling man-in-the-middle attacks to bypass security controls.","url":"https://insights.sbomify.com/CVE-2022-45877/"}