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

10 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-
debian/u-boot<=2019.01+dfsg-7, <=2021.01+dfsg-5
2023.01+dfsg-22024.01+dfsg-12024.01+dfsg-5
DENX U-Boot>=2012.10<=2022.07

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
Jan 12, 2024
Data Sourced
via Launchpad·04:01 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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