CVE-2022-34835 Integer overflow in n/a

Critical 9.8 Published Updated

An integer signedness error in the U-Boot i2c md command allows stack-based buffer overflow, potentially enabling arbitrary code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-34835?

CVE-2022-34835 is a critical vulnerability in n/a, published on 29 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Das U-Boot through 2022.07-rc5, an integer signedness error and resultant stack-based buffer overflow in the "i2c md" command enables the corruption of the return address pointer of the do_i2c_md function.

Weakness: CWE-787

Which versions are affected by CVE-2022-34835?

It affects 1 product.

Linux distribution packages (31)
u-boot SUSE:Enterprise Storage 6All versions2019.01-150100.7.16.1
u-boot-rpi3 SUSE:Enterprise Storage 6All versions2019.01-150100.7.16.1
u-boot SUSE:Enterprise Storage 7All versions2020.01-150200.10.15.1
u-boot-rpiarm64 SUSE:Enterprise Storage 7All versions2020.01-150200.10.15.1
u-boot SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions2019.01-150100.7.16.1
u-boot-rpi3 SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions2019.01-150100.7.16.1
u-boot SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions2019.01-150100.7.16.1
u-boot-rpi3 SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions2019.01-150100.7.16.1
u-boot SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOSAll versions2020.01-150200.10.15.1
u-boot-rpiarm64 SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOSAll versions2020.01-150200.10.15.1
u-boot SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions2020.01-150200.10.15.1
u-boot-rpiarm64 SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions2020.01-150200.10.15.1
u-boot SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions2018.03-4.9.1
u-boot-rpi3 SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions2018.03-4.9.1
u-boot SUSE:Linux Enterprise Server 12 SP5All versions2019.01-5.11.1
u-boot-rpi3 SUSE:Linux Enterprise Server 12 SP5All versions2019.01-5.11.1
u-boot SUSE:Linux Enterprise Server 15 SP1-BCLAll versions2019.01-150100.7.16.1
u-boot SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions2019.01-150100.7.16.1
u-boot-rpi3 SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions2019.01-150100.7.16.1
u-boot SUSE:Linux Enterprise Server 15 SP2-BCLAll versions2020.01-150200.10.15.1
u-boot SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions2020.01-150200.10.15.1
u-boot-rpiarm64 SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions2020.01-150200.10.15.1
u-boot SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions2019.01-5.11.1
u-boot-rpi3 SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions2019.01-5.11.1
u-boot SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions2019.01-150100.7.16.1
u-boot SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions2020.01-150200.10.15.1
u-boot SUSE:Manager Proxy 4.1All versions2020.01-150200.10.15.1
u-boot SUSE:Manager Retail Branch Server 4.1All versions2020.01-150200.10.15.1
u-boot SUSE:Manager Server 4.1All versions2020.01-150200.10.15.1
u-boot-xilinxzynqmpgeneric openSUSE:Leap 15.3All versions2020.01-150200.10.15.1
u-boot-xilinxzynqmpgeneric openSUSE:Leap 15.4All versions2020.01-150200.10.15.1

Products include Denx U-Boot.

How do I fix CVE-2022-34835?

Apply the vendor's patch.

Is CVE-2022-34835 being exploited?

There is no known exploitation of CVE-2022-34835 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-34835, GHSA-9gfq-p9vq-r563, OESA-2022-1751, SUSE-SU-2022:2654-1, SUSE-SU-2022:2666-1, SUSE-SU-2022:2667-1 and 2 more.

Is CVE-2022-34835 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free