Vulnerability · Published Sep 23, 2022 · Assigned by Google

CVE-2022-2347Unchecked Download size in Uboot

High 7.7

In plain English

A high-severity heap buffer overflow in Uboot from Uboot. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.7High
Exploit odds (30 days)0.6%top 52.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12u-boot2023.01~rc4+dfsg-2DEBIAN-CVE-2022-2347
Debian:13u-boot2023.01~rc4+dfsg-2DEBIAN-CVE-2022-2347
Debian:14u-boot2023.01~rc4+dfsg-2DEBIAN-CVE-2022-2347
Ubuntu:22.04:LTSu-boot2022.01+dfsg-2ubuntu2.3USN-5764-1
Ubuntu:22.04:LTSu-boot2022.01+dfsg-2ubuntu2.3UBUNTU-CVE-2022-2347
Ubuntu:22.04:LTSu-boot-nezha2022.04+git20220405.7446a472-0ubuntu0.4UBUNTU-CVE-2022-2347
Ubuntu:22.04:LTSu-boot-nezha2022.04+git20220405.7446a472-0ubuntu0.4USN-6523-1
Ubuntu:24.04:LTSu-boot-nezhano fix listedUBUNTU-CVE-2022-2347

Affected products (as reported)

VendorProductVersions
Uboot Uboot unspecified – through 2022.07

Weakness: CWE-122 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

References