NetSight
high7.7

CVE-2022-2347

There exists an unchecked length field in UBoot.

Impact

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.

Affected products

VendorProductAffected versions
DenxU-Boot
from 2012.10 through 2022.07

Weakness classification

References