Vulnerability identifier: #VU19989
Vulnerability risk: Critical
CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-121
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
U-Boot
Client/Desktop applications /
Other client software
Vendor: DENX
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
Mitigation
Install update from vendor's website.
Vulnerable software versions
U-Boot: 2016.09 - 2019.07 rc4
External links
http://gist.github.com/deephooloovoo/d91b81a1674b4750e662dfae93804d75
http://github.com/u-boot/u-boot/commits/master
http://lists.denx.de/pipermail/u-boot/2019-July/375516.html
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.