Stack-based buffer overflow in DENX U-Boot



Published: 2019-08-06 | Updated: 2022-12-20
Risk Critical
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-13106
CWE-ID CWE-121
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
U-Boot
Client/Desktop applications / Other client software

Vendor DENX

Security Bulletin

This security bulletin contains one critical risk vulnerability.

1) Stack-based buffer overflow

EUVDB-ID: #VU19989

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: CVE-2019-13106

CWE-ID: CWE-121 - Stack-based buffer overflow

Exploit availability: No

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


Q & A

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.



###SIDEBAR###