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.
References
Link | Resource |
---|---|
https://seclists.org/oss-sec/2022/q3/41 | Exploit Mailing List Third Party Advisory |
Configurations
Information
Published : 2022-09-23 06:15
Updated : 2022-09-29 06:51
NVD link : CVE-2022-2347
Mitre link : CVE-2022-2347
JSON object : View
CWE
CWE-787
Out-of-bounds Write
Products Affected
denx
- u-boot