{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-43451 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-43451 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-43451 is a high-severity path traversal vulnerability in OpenHarmony, published on 3 Nov 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-43451 and fix it if it is affected.\n\nWhat it is: CVE-2022-43451 is a high-severity path traversal vulnerability in OpenHarmony, published on 3 Nov 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-43451 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-43451/ (Markdown: https://insights.sbomify.com/CVE-2022-43451/index.md)","id":"CVE-2022-43451","markdown":"https://insights.sbomify.com/CVE-2022-43451/index.md","name":"CVE-2022-43451","record":{"aliases":["GHSA-pmwg-pqhj-8m9m"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OpenHarmony OS","requires_auth":"none","summary":"Local attackers can exploit path traversal in appspawn and nwebspawn services to escape sandboxes and potentially gain root privileges.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"OpenHarmony","cpe":[{"product":"openharmony","vendor":"openharmony"}],"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-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-287","name":"Improper Authentication"}],"description":"OpenHarmony-v3.1.2 and prior versions had an Multiple path traversal vulnerability in appspawn and nwebspawn services. Local attackers can create arbitrary directories or escape application sandbox.If chained with other vulnerabilities it would allow an unprivileged process to gain full root privileges.","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":"Multiple path traversal in appspawn and nwebspawn services.","id":"CVE-2022-43451","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Delta Electronics DIAEnergie SQL Injection","id":"CVE-2022-43452"},"packages":[],"prev":{"headline":"WordPress Stream Plugin \u003c= 3.9.2 is vulnerable to Insecure Direct Object References (IDOR)","id":"CVE-2022-43450"},"products":["OpenHarmony"],"published":"2022-11-03","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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["OpenHarmony"]},"summary":"Local attackers can exploit path traversal in appspawn and nwebspawn services to escape sandboxes and potentially gain root privileges.","url":"https://insights.sbomify.com/CVE-2022-43451/"}