High severity · published Sep 23, 2022
CVE-2022-2347
There exists an unchecked length field in UBoot
7.1
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack vector
Physical
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 47% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
UB
U-boot · Denx
2012.10 through 2022.07 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-2347
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-2347
Exploit
https://seclists.org/oss-sec/2022/q3/41
lists.debian.org
https://lists.debian.org/debian-lts-announce/2025/05/msg00001.html
cert-portal.siemens.com
https://cert-portal.siemens.com/productcert/html/ssa-577017.html
More from U-boot
9.8
CVE-2026-29009
U-Boot < 2026.07-rc2 Buffer Overflow in nfs_readlink_reply() via NFS READLINK
9.8
CVE-2022-34835
In Das U-Boot through 2022.07-rc5, an integer signedness error and resultant stack-based buffer overflow in the "i2c md" command enables the corruption of the return address…
9.8
CVE-2022-30767
nfs_lookup_reply in net/nfs.c in Das U-Boot through 2022.04 (and through 2022.07-rc2) has an unbounded memcpy with a failed length check, leading to a buffer overflow
9.8
CVE-2020-8432
In Das U-Boot through 2020.01, a double free has been found in the cmd/gpt.c do_rename_gpt_parts() function
9.8
CVE-2019-14204
An issue was discovered in Das U-Boot through 2019.07
