CVE-2017-3226 Weak cryptography in U-Boot
An attacker with physical access can exploit improper error handling in U-Boot's AES-CBC implementation to decrypt data or cause denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-3226?
CVE-2017-3226 is a medium-severity vulnerability in Das U-Boot, published on 24 Jul 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2017-3226?
It affects 1 product.
Products include Denx U-Boot.
How do I fix CVE-2017-3226?
No fix has been published for CVE-2017-3226 yet. Limit exposure of the affected software until one is available.
Is CVE-2017-3226 being exploited?
There is no known exploitation of CVE-2017-3226 in the wild and no public exploit code.
Other vulnerabilities in Das U-Boot
Sources
Also known as DEBIAN-CVE-2017-3226, GHSA-wg74-j96c-c2wj, UBUNTU-CVE-2017-3226.