CVE-2022-2347

NameCVE-2022-2347
DescriptionThere 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1014959

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
u-boot (PTS)jessie2014.10+dfsg1-5vulnerable
stretch2016.11+dfsg1-4vulnerable
buster2019.01+dfsg-7vulnerable
bullseye2021.01+dfsg-5vulnerable
bookworm2023.01+dfsg-2+deb12u1fixed
sid, trixie2024.01+dfsg-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
u-bootsourceexperimental2023.01~rc2+dfsg-1
u-bootsourcejessie(unfixed)end-of-life
u-bootsource(unstable)2023.01~rc4+dfsg-21014959

Notes

[bullseye] - u-boot <no-dsa> (Minor issue)
[buster] - u-boot <no-dsa> (Minor issue)
https://www.openwall.com/lists/oss-security/2022/07/08/2
https://source.denx.de/u-boot/u-boot/-/commit/fbce985e28eaca3af82afecc11961aadaf971a7e (v2023.01-rc2)
[stretch] - u-boot <no-dsa> (Minor issue)

Search for package or bug name: Reporting problems