CVE-2022-2347
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.56%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.1 HIGHCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS
- 0.56% probability · 45th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-122, CWE-787
- Affected
- denx/u-boot
- Source
- cve-coordination@google.com
References
- https://seclists.org/oss-sec/2022/q3/41Exploit, Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/05/msg00001.html
- https://seclists.org/oss-sec/2022/q3/41Exploit, Mailing List, Third Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-577017.html
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.