Skip to contentSkip to conversation

VU#166743: Das U-Boot AES-CBC encryption

U-Boot Blibbet 2 participants 2 messages Sep 9, 2017

lore
Share & tools
lore

Blibbet

author
#0 lore raw

I apologize if I missed it, but I haven't see any mention of this recent vulnerability here, excerpts below.

http://www.kb.cert.org/vuls/id/166743

-----snip-----
Vulnerability Note VU#166743

Das U-Boot AES-CBC encryption implementation contains multiple vulnerabilities

Original Release date: 08 Sep 2017

Das U-Boot is a device bootloader that can read its configuration from an AES encrypted file. For devices utilizing this environment encryption mode, U-Boot's use of a zero initialization vector and improper handling of an error condition may allow attacks against the underlying cryptographic implementation and allow an attacker to decrypt the data.

An attacker with physical access to the device may be able to decrypt the device's contents.

The CERT/CC is currently unaware of a practical solution to this problem. -----snip-----

#1 lore raw
Quoted 19 lines · Blibbet

I apologize if I missed it, but I haven't see any mention of this recent vulnerability here, excerpts below.

http://www.kb.cert.org/vuls/id/166743

-----snip-----
Vulnerability Note VU#166743

Das U-Boot AES-CBC encryption implementation contains multiple vulnerabilities

Original Release date: 08 Sep 2017

Das U-Boot is a device bootloader that can read its configuration from an AES encrypted file. For devices utilizing this environment encryption mode, U-Boot's use of a zero initialization vector and improper handling of an error condition may allow attacks against the underlying cryptographic implementation and allow an attacker to decrypt the data.

Quoted 5 lines

An attacker with physical access to the device may be able to decrypt the device's contents.

The CERT/CC is currently unaware of a practical solution to this problem. -----snip-----

So, I mentioned this in the patch that migrated the option to Kconfig and marked it deprecated, and I plan to mention it in the release notes on Monday. But, this option has no in-tree users and I plan to remove the code in the near term, if no one with the relevant background steps up to re-implement it. Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170909/423af6e8/attachment.sig>