{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2347 exists.","fix":"Apply the vendor's patch.","what":"CVE-2022-2347 is a high-severity memory corruption vulnerability in Uboot, published on 23 Sep 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-2347 and fix it if it is affected.\n\nWhat it is: CVE-2022-2347 is a high-severity memory corruption vulnerability in Uboot, published on 23 Sep 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2347 exists.\n\nAffected product: Uboot. 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-2347/ (Markdown: https://insights.sbomify.com/CVE-2022-2347/index.md)","id":"CVE-2022-2347","markdown":"https://insights.sbomify.com/CVE-2022-2347/index.md","name":"CVE-2022-2347","record":{"aliases":["DEBIAN-CVE-2022-2347","GHSA-57ww-qgjv-3g3c","OESA-2024-2186","OESA-2024-2187","OESA-2024-2188","OESA-2024-2189","UBUNTU-CVE-2022-2347"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"U-Boot bootloader","requires_auth":"none","summary":"A physical attacker can exploit an unchecked length field in U-Boot's DFU implementation to write beyond heap buffers, potentially executing arbitrary code.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"u-boot","vendor":"denx"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"There exists an unchecked length field in UBoot. The U-Boot DFU implementation does not bound the length field in USB DFU download setup packets, and it does not verify that the transfer direction corresponds to the specified command. Consequently, if a physical attacker crafts a USB DFU download setup packet with a `wLength` greater than 4096 bytes, they can write beyond the heap-allocated request buffer.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Unchecked Download size in Uboot","id":"CVE-2022-2347","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2022-2348"},"packages":[],"prev":{"headline":"Missing authorization in Octopus Server","id":"CVE-2022-2346"},"products":["Uboot"],"published":"2022-09-23","related":[{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2022-34835","kev_date_added":null,"published":"2022-06-29"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2022-30767","kev_date_added":null,"published":"2022-05-16"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2020-8432","kev_date_added":null,"published":"2020-01-29"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2019-14192","kev_date_added":null,"published":"2019-07-31"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2019-14193","kev_date_added":null,"published":"2019-07-31"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2019-14194","kev_date_added":null,"published":"2019-07-31"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2019-14195","kev_date_added":null,"published":"2019-07-31"}],"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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-12","vendors":["Uboot"]},"summary":"A physical attacker can exploit an unchecked length field in U-Boot's DFU implementation to write beyond heap buffers, potentially executing arbitrary code.","url":"https://insights.sbomify.com/CVE-2022-2347/"}