CVE-2017-3226

Das U-Boot's AES-CBC encryption feature improperly handles an error condition and may allow attacks against the underlying cryptographic implementation and…

No CVSS score yet EPSS 0.27%

Published 24 Jul 2018 Updated 5 Aug 2024 CNA: certcc

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.

Exploitation

EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.4% of all scored CVEs. Scores of 26 Nov 2026.

Weakness

  • CWE-329 Generation of Predictable IV with CBC Mode

Affected products

As the CNA lists them.

ProductVersions
U-Boot
affected from 2017.09, before 2017.09

Is my server affected?

Find the installed version of u-boot and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i u-boot
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2017-3226 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2017-3226

RHEL, Rocky, Alma, Fedora

rpm -q u-boot
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2017-3226

Alpine

apk list --installed | grep -i u-boot

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2017-3226
trivy image --scanners vuln IMAGE | grep CVE-2017-3226

PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Install the agent.

References

Advisories

  • VU#166743 kb.cert.org · third party advisory

Other references

  • 100675 securityfocus.com · vdb entry

Source: the record CVE-2017-3226 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.