CVE-2022-2347

Severity CVSS v4.0:
Pending analysis
Type:
CWE-122 Heap-based Buffer Overflow
Publication date:
23/09/2022
Last modified:
03/11/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:denx:u-boot:*:*:*:*:*:*:*:* 2012.10 (including) 2022.07 (including)