CVE-2017-3226

NameCVE-2017-3226
DescriptionDas 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: local)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
u-boot (PTS)jessie2014.10+dfsg1-5vulnerable
stretch2016.11+dfsg1-4vulnerable
buster, sid2018.05+dfsg-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
u-bootsource(unstable)(unfixed)unimportant
u-bootsourcewheezy(not affected)

Notes

[wheezy] - u-boot <not-affected> (Vulnerable code do not exist)
jessie+ no built targets use ENV_AES by default, but fw_printenv/fw_setenv
in u-boot-tools supports it. Upstream has deprecated it and plans to remove
it in future versions.
https://www.kb.cert.org/vuls/id/166743
Negligable security impact

Search for package or bug name: Reporting problems