Buffer overflow in Universal Boot Loader (U-Boot) - CVE-2019-13104
Published: August 6, 2019 / Updated: August 8, 2020
Vulnerability identifier: #VU35641
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2019-13104
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: DENX
Affected software:
Universal Boot Loader (U-Boot)
Universal Boot Loader (U-Boot)
Detailed vulnerability description
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
In Das U-Boot versions 2016.11-rc1 through 2019.07-rc4, an underflow can cause memcpy() to overwrite a very large amount of data (including the whole stack) while reading a crafted ext4 filesystem.
How to mitigate CVE-2019-13104
Install update from vendor's website.
Sources
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00004.html
- https://gist.github.com/deephooloovoo/d91b81a1674b4750e662dfae93804d75
- https://github.com/u-boot/u-boot/commits/master
- https://lists.denx.de/pipermail/u-boot/2019-July/375514.html