Arbitrary code execution in U-Boot DFU implementation



Published: 2022-12-06
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-2347
CWE-ID CWE-787
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
U-Boot
Client/Desktop applications / Other client software

Vendor DENX

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Out-of-bounds write

EUVDB-ID: #VU69943

Risk: Low

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

CVE-ID: CVE-2022-2347

CWE-ID: CWE-787 - Out-of-bounds write

Exploit availability: No

Description

The vulnerability allows an attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error in the U-Boot DFU implementation when processing download setup packets. An attacker with physical access to device can send a USB DFU download setup packet with a `wLength` greater than 4096 bytes, trigger a heap-based buffer overflow and execute arbitrary code on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

U-Boot: 2022.01 - 2022.10 rc5

External links

http://seclists.org/oss-sec/2022/q3/41


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.



###SIDEBAR###