CVE-2022-2347: Unchecked Download size in Uboot

Published Jul 7, 2022
·
Updated

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 Software

13 affected componentsFixes available
ubuntu/u-boot<2020.10+dfsg-1ubuntu0~18.04.3
2020.10+dfsg-1ubuntu0~18.04.3
ubuntu/u-boot<2021.01+dfsg-3ubuntu0~20.04.5
2021.01+dfsg-3ubuntu0~20.04.5
ubuntu/u-boot<2022.01+dfsg-2ubuntu2.3
2022.01+dfsg-2ubuntu2.3
ubuntu/u-boot<2022.07+dfsg-1ubuntu4.2
2022.07+dfsg-1ubuntu4.2
ubuntu/u-boot<2022.07+dfsg-1ubuntu7
2022.07+dfsg-1ubuntu7
ubuntu/u-boot<2022.07+dfsg-1ubuntu7
2022.07+dfsg-1ubuntu7
ubuntu/u-boot-nezha<2022.04+
2022.04+
ubuntu/u-boot-nezha<2022.10-1089-
2022.10-1089-
DENX U-Boot>=2012.10<=2022.07
debian/u-boot<2023.01~rc4+dfsg-2
2023.01~rc4+dfsg-2
debian/u-boot<2023.01~rc4+dfsg-2
2023.01~rc4+dfsg-2
debian/u-boot<2023.01~rc4+dfsg-2
2023.01~rc4+dfsg-2
debian/u-boot
2023.01+dfsg-2+deb12u32025.01-3+deb13u12025.01-3.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/u-boot to a version that resolves this vulnerability.

    Fixed in 2020.10+dfsg-1ubuntu0~18.04.3
  2. Upgrade

    Upgrade ubuntu/u-boot to a version that resolves this vulnerability.

    Fixed in 2021.01+dfsg-3ubuntu0~20.04.5
  3. Upgrade

    Upgrade ubuntu/u-boot to a version that resolves this vulnerability.

    Fixed in 2022.01+dfsg-2ubuntu2.3
  4. Upgrade

    Upgrade ubuntu/u-boot to a version that resolves this vulnerability.

    Fixed in 2022.07+dfsg-1ubuntu4.2
  5. Upgrade

    Upgrade ubuntu/u-boot to a version that resolves this vulnerability.

    Fixed in 2022.07+dfsg-1ubuntu7
  6. Upgrade

    Upgrade ubuntu/u-boot-nezha to a version that resolves this vulnerability.

    Fixed in 2022.04+
  7. Upgrade

    Upgrade ubuntu/u-boot-nezha to a version that resolves this vulnerability.

    Fixed in 2022.10-1089-
  8. Upgrade

    Upgrade debian/u-boot to a version that resolves this vulnerability.

    Fixed in 2023.01+dfsg-2+deb12u3Fixed in 2025.01-3+deb13u1Fixed in 2025.01-3.2
  9. Upgrade

    Upgrade debian/u-boot to a version that resolves this vulnerability.

    Fixed in 2023.01~rc4+dfsg-2

Event History

Sep 23, 2022
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·12:50 PM
Data Sourced
via MITRE·12:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·01:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-2347?

CVE-2022-2347 is a vulnerability in UBoot that allows a physically attacker to execute arbitrary code or cause a denial of service.

2

How does CVE-2022-2347 impact UBoot?

CVE-2022-2347 allows a physically attacker to exploit an unchecked length field in UBoot, leading to arbitrary code execution or denial of service.

3

What is the severity of CVE-2022-2347?

CVE-2022-2347 has a severity rating of 7.1 (high).

4

How can I fix CVE-2022-2347?

To mitigate CVE-2022-2347, it is recommended to update UBoot to a version beyond 2022.07 or apply any patches provided by the vendor.

5

Where can I find more information about CVE-2022-2347?

More information about CVE-2022-2347 can be found at the following reference: [seclists.org/oss-sec/2022/q3/41](https://seclists.org/oss-sec/2022/q3/41).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203