#VU66594 Stack-based buffer overflow in U-Boot


Published: 2022-08-17

Vulnerability identifier: #VU66594

Vulnerability risk: Low

CVSSv3.1: 5.9 [CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-34835

CWE-ID: CWE-121

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
U-Boot
Client/Desktop applications / Other client software

Vendor: DENX

Description

The vulnerability allows an attacker to escalate privileges on the system.

The vulnerability exists due to a boundary error in the do_i2c_md() function within the "i2c md" command. An attacker with physical access to device can trigger a stack-based buffer overflow and escalate privileges on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

U-Boot: 1.0.0 - 2022.07 rc5


External links
http://source.denx.de/u-boot/u-boot/-/commit/8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409
http://lists.denx.de/pipermail/u-boot/2022-June/486113.html
http://github.com/u-boot/u-boot/commit/8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409


Q & A

Can this vulnerability be exploited remotely?

No. The attacker should have physical access to the system in order to successfully exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability