{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40918 exists.","fix":"No fix has been published for CVE-2022-40918 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-40918 is a critical memory corruption vulnerability in n/a, published on 5 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-40918 and fix it if it is affected.\n\nWhat it is: CVE-2022-40918 is a critical memory corruption vulnerability in n/a, published on 5 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40918 exists.\n\nAffected product: n/a. 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-40918/ (Markdown: https://insights.sbomify.com/CVE-2022-40918/index.md)","id":"CVE-2022-40918","markdown":"https://insights.sbomify.com/CVE-2022-40918/index.md","name":"CVE-2022-40918","record":{"aliases":["GHSA-jqqc-8vpc-2wjv"],"analysis":{"component_type":"hardware_firmware","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"FPV drone firmware","requires_auth":"none","summary":"A buffer overflow in the drone camera firmware allows remote attackers to execute arbitrary code with root privileges via a crafted UDP packet.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"discovery_wifi_u818a_hd\\+_fpv_firmware","vendor":"force1rc"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"Buffer overflow in firmware lewei_cam binary version 2.0.10 in Force 1 Discovery Wifi U818A HD+ FPV Drone allows attacker to gain remote code execution as root user via a specially crafted UDP packet. Please update the Reference section to these links \u003e http://thiscomputer.com/ \u003e https://www.bostoncyber.org/ \u003e https://medium.com/@meekworth/exploiting-the-lw9621-drone-camera-module-773f00081368","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Memory corruption in n/a","id":"CVE-2022-40918","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"File upload in n/a","id":"CVE-2022-40921"},"packages":[],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2022-40916"},"products":["n/a"],"published":"2022-12-05","related":[],"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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-24","vendors":["n/a"]},"summary":"A buffer overflow in the drone camera firmware allows remote attackers to execute arbitrary code with root privileges via a crafted UDP packet.","url":"https://insights.sbomify.com/CVE-2022-40918/"}