Cryptographic issues in Universal Boot Loader (U-Boot) - CVE-2017-3226

 

Cryptographic issues in Universal Boot Loader (U-Boot) - CVE-2017-3226

Published: July 24, 2018 / Updated: July 17, 2020


Vulnerability identifier: #VU31263
CSH Severity: Medium
CVSS v4: 5.4 [CVSS:4.0/AV:P/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-3226
CWE-ID: CWE-310
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local non-authenticated attacker to execute arbitrary code.

Das U-Boot is a device bootloader that can read its configuration from an AES encrypted file. Devices that make use of Das U-Boot's AES-CBC encryption feature using environment encryption (i.e., setting the configuration parameter CONFIG_ENV_AES=y) read environment variables from disk as the encrypted disk image is processed. An attacker with physical access to the device can manipulate the encrypted environment data to include a crafted two-byte sequence which triggers an error in environment variable parsing. This error condition is improperly handled by Das U-Boot, resulting in an immediate process termination with a debugging message.


Affected software

Universal Boot Loader (U-Boot)

How to mitigate CVE-2017-3226

Install update from vendor's website.

Universal Boot Loader (U-Boot) - update to 2017.09

External References

Related Security Bulletins