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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
u-boot (PTS)bullseye2021.01+dfsg-5vulnerable
bookworm2023.01+dfsg-2+deb12u1vulnerable
sid, trixie2024.01+dfsg-5vulnerable

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

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

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
Negligible security impact

Search for package or bug name: Reporting problems