Stack-based buffer overflow in Universal Boot Loader (U-Boot) - CVE-2019-13106

 

Stack-based buffer overflow in Universal Boot Loader (U-Boot) - CVE-2019-13106

Published: August 8, 2019 / Updated: December 20, 2022


Vulnerability identifier: #VU19989
CSH Severity: Critical
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Red
CVE-ID: CVE-2019-13106
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: DENX
Affected software:
Universal Boot Loader (U-Boot)

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when the ext4 code can overwrite portions of the stack with 0s in the "ext4fs_read_file" function. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

This vulnerability can easily give complete control of the CPU, which would defeat verified boot



How to mitigate CVE-2019-13106

Install update from vendor's website.

Sources