CVEfocus › CVE database › CVE-2022-2347

CVE-2022-2347Unchecked Download size in Uboot

CVSS 7.7 HighEPSS 0.5% (higher than 32% of CVEs)Published 2022-09-23Updated 2026-05-12Assigner: Google

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.

CWE-122

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

7Fixed
2Fix pending

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04u-boot-nezhaFix pendingUBUNTU-CVE-2022-2347
Ubuntu 22.04u-bootFixed2022.01+dfsg-2ubuntu2.3UBUNTU-CVE-2022-2347
Ubuntu 22.04u-boot-nezhaFixed2022.04+git20220405.7446a472-0ubuntu0.4UBUNTU-CVE-2022-2347
Ubuntu 20.04u-bootFixed2021.01+dfsg-3ubuntu0~20.04.5UBUNTU-CVE-2022-2347
Ubuntu 18.04u-bootFixed2020.10+dfsg-1ubuntu0~18.04.3UBUNTU-CVE-2022-2347
Ubuntu 16.04u-bootFix pendingUBUNTU-CVE-2022-2347
Debian 14u-bootFixed2023.01~rc4+dfsg-2DEBIAN-CVE-2022-2347
Debian 13u-bootFixed2023.01~rc4+dfsg-2DEBIAN-CVE-2022-2347
Debian 12u-bootFixed2023.01~rc4+dfsg-2DEBIAN-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.

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.