CVE Catalog

CVE-2022-2347

High
Published: Translated: NVD NIST

Summary

There exists an unchecked length field in U-Boot that can lead to memory corruption. The DFU implementation in U-Boot does not bound the length field in USB DFU download setup packets, allowing an attacker to send a packet with a length greater than 4096 bytes.

Risk Assessment

A physical attacker can exploit this vulnerability to overwrite memory, potentially leading to unauthorized access or system instability. This risk may affect the integrity and availability of devices using U-Boot.

Recommendation

It is recommended to update U-Boot to the latest version that implements proper bounds for the length field in USB DFU packets. Additionally, consider implementing physical security measures to restrict access to devices.

Other vulnerabilities in U-Boot

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS