CVE-2022-2347Unchecked Download size in Uboot
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | u-boot-nezha | Fix pending | UBUNTU-CVE-2022-2347 | |
| Ubuntu 22.04 | u-boot | Fixed | 2022.01+dfsg-2ubuntu2.3 | UBUNTU-CVE-2022-2347 |
| Ubuntu 22.04 | u-boot-nezha | Fixed | 2022.04+git20220405.7446a472-0ubuntu0.4 | UBUNTU-CVE-2022-2347 |
| Ubuntu 20.04 | u-boot | Fixed | 2021.01+dfsg-3ubuntu0~20.04.5 | UBUNTU-CVE-2022-2347 |
| Ubuntu 18.04 | u-boot | Fixed | 2020.10+dfsg-1ubuntu0~18.04.3 | UBUNTU-CVE-2022-2347 |
| Ubuntu 16.04 | u-boot | Fix pending | UBUNTU-CVE-2022-2347 | |
| Debian 14 | u-boot | Fixed | 2023.01~rc4+dfsg-2 | DEBIAN-CVE-2022-2347 |
| Debian 13 | u-boot | Fixed | 2023.01~rc4+dfsg-2 | DEBIAN-CVE-2022-2347 |
| Debian 12 | u-boot | Fixed | 2023.01~rc4+dfsg-2 | DEBIAN-CVE-2022-2347 |
What the vendor says
As published in the CVE record by Google, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Uboot: affected: unspecified to 2022.07
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.