secureboot-db 2020 update

Bug #1890835 reported by Dimitri John Ledkov
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
secureboot-db (Ubuntu)
Fix Released
Medium
Unassigned
Trusty
New
Medium
Unassigned
Xenial
Confirmed
Medium
Unassigned
Bionic
Confirmed
Medium
Unassigned
Focal
Confirmed
Medium
Unassigned
Groovy
Fix Released
Medium
Unassigned

Bug Description

NB! do not release this update to -updates, until slow phasing is available, at 4% per day.

NB! ideally phase one series at the time, to ensure we can deal with a flood of support requests if any arise.

[Impact]

 * Ship 2020 dbxupdate from MS

[Test Case]

 * In case of multi-boot systems, please plan to boot into every operating system on your multi-boot systems and install updates as soon as your other operating system distributions publish updates for BootHole vulnerability.

 * Install package on Secureboot UEFI enabled system
 * Reboot
 * Observe that it still reboots

[Regression Potential]

 * Installing this package even once will update DBX variable in the UEFI firmware and will prevent booting:

 - All Ubuntu, Debian, RHEL, Fedora, OpenSUSE, SUSE, Oracle Linux milestones / media released before August 2020
 - Certain version of Kaspersky Labs UEFI protect software
 - Certain version of HPE Inc ProLiant automatic OS provisioning

As they are all vulnerable to the BootHole vunlerability.

For example, one will have to use 16.04.7 LTS, 18.04.5 LTS, 20.04.1 LTS installer media if they want to reinstall.

If any dual boot configurations are failing to boot, one must navigated to UEFI BIOS settings and either reset DBX variables to stock values, or disable secureboot. Upgrade any systems that are now prohibited to boot. And then re-enable secureboot & reinstall secureboot-db package to reapply dbx updates.

Please note simple downgrade of secureboot-db package will not achieve anything, as downgrading the package does not revert the firmware changes.

[Other Info]

 * For more inforamtion please see https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/GRUB2SecureBootBypass

tags: added: block-proposed-bionic block-proposed-focal block-proposed-xenial
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package secureboot-db - 1.6

---------------
secureboot-db (1.6) groovy; urgency=medium

  * Ship MS 2020 split arch dbx updates. LP: #1890835
  * Add arm64 architecture.

 -- Dimitri John Ledkov <email address hidden> Fri, 24 Jul 2020 00:34:57 +0100

Changed in secureboot-db (Ubuntu Groovy):
status: New → Fix Released
description: updated
description: updated
description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Apologies if this is completely not a thing, but I'm a bit worried about cases where people install the secureboot-db update but still have the old grub2 installed (as there is no breaks). Will that cause a problem? Since if I understand it (but I might be wrong), wouldn't they be unable to boot their systems anymore?

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Reuploaded with breaks on versions of signed grubs less than those in the security pocket.

This however may introduce an inverse problem of attempting to either remove signed grub, or remove secureboot-db, to resolve the conflict if for some reason users prohibit upgrading the signed grub packages.

tags: added: id-57571331a85e0e034520474d
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Dimitri, or anyone else affected,

Accepted secureboot-db into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/secureboot-db/1.6~20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in secureboot-db (Ubuntu Focal):
status: New → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Dimitri, or anyone else affected,

Accepted secureboot-db into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/secureboot-db/1.4.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in secureboot-db (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Changed in secureboot-db (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed-xenial
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Dimitri, or anyone else affected,

Accepted secureboot-db into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/secureboot-db/1.4.1~ubuntu0.16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Someone will have to poke the ESM team to take care of trusty.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Yes, ESM will be poked after other series release this.

tags: removed: block-proposed-focal
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Booted 20.04.1 ISO, in a 4k ovmf qemu KVM VM with secureboot MS keys and installed secureboot-db from focal-proposed, checking in journalctl that dbxupdate from 1.6~20.04.1 got applied.

Shut down the VM.

Attempted to boot 20.04 BETA iso, and it failed to boot with Verification failed Security Violation. Thus dbx update was correctly applied and vulnerable OS can no longer boot.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Slow phasing is merged and deployed now.

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Publishing secureboot-db for focal-updates and focal-security. As discussed, this is fine to go to -security too as it the package is basically a 'pure data' package.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package secureboot-db - 1.6~20.04.1

---------------
secureboot-db (1.6~20.04.1) focal; urgency=medium

  * Ship MS 2020 split arch dbx updates. LP: #1890835
  * Add arm64 architecture.
  * Add breaks on grub-efi-$arch-signed less than security pocket.

 -- Dimitri John Ledkov <email address hidden> Fri, 24 Jul 2020 00:34:57 +0100

Changed in secureboot-db (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for secureboot-db has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

"Yes, ESM will be poked after other series release this."

Dimitri - do we plan to respin trusty media with the upgraded grub?

Revision history for this message
Steve Langasek (vorlon) wrote :

The focal SRU has been rolled back for the time being from focal-updates to focal-proposed, due to compatibility concerns with current Fedora.

They will be re-released at a later date. For the time being I am marking verification-failed to block promotion, but this does not mean they should be removed from -proposed.

Changed in secureboot-db (Ubuntu Focal):
status: Fix Released → Fix Committed
tags: added: verification-failed-bionic verification-failed-focal verification-failed-xenial
removed: verification-done-focal verification-needed-bionic verification-needed-xenial
tags: added: block-proposed-focal block-proposed-groovy
Revision history for this message
Rex Tsai (chihchun) wrote :

Based on comment #15, I assume the same deb will be released again to focal-updates, Ubuntu only roll it back to focal-proposed to provide Feodra community has more time to address the problem.

If it's an Ubuntu only machines, users are free and allowed to use the same deb right now.

Revision history for this message
Mathew Hodson (mhodson) wrote :

Removed the verification-failed tags so that this bug doesn't show up in the -proposed cleanup report of packages to remove from -proposed.

tags: added: verification-needed-bionic verification-needed-focal verification-needed-xenial
removed: block-proposed-groovy verification-failed-bionic verification-failed-focal verification-failed-xenial verification-needed
Mathew Hodson (mhodson)
Changed in secureboot-db (Ubuntu):
importance: Undecided → Medium
Changed in secureboot-db (Ubuntu Trusty):
importance: Undecided → Medium
Changed in secureboot-db (Ubuntu Xenial):
importance: Undecided → Medium
Changed in secureboot-db (Ubuntu Bionic):
importance: Undecided → Medium
Changed in secureboot-db (Ubuntu Focal):
importance: Undecided → Medium
Changed in secureboot-db (Ubuntu Groovy):
importance: Undecided → Medium
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

A newer dbx update has been published, thus this version should not go out to updates & security.
The new update requires SBAT capable shim, which is in progress being rolled out at the moment.

tags: added: verification-failed-bionic verification-failed-focal verification-failed-xenial
removed: verification-needed-bionic verification-needed-focal verification-needed-xenial
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Proposed package removed from archive

The version of secureboot-db in the proposed pocket of Bionic that was purported to fix this bug report has been removed because one or more bugs that were to be fixed by the upload have failed verification and been in this state for more than 10 days.

Changed in secureboot-db (Ubuntu Bionic):
status: Fix Committed → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

The version of secureboot-db in the proposed pocket of Focal that was purported to fix this bug report has been removed because one or more bugs that were to be fixed by the upload have failed verification and been in this state for more than 10 days.

Changed in secureboot-db (Ubuntu Focal):
status: Fix Committed → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

The version of secureboot-db in the proposed pocket of Xenial that was purported to fix this bug report has been removed because one or more bugs that were to be fixed by the upload have failed verification and been in this state for more than 10 days.

Changed in secureboot-db (Ubuntu Xenial):
status: Fix Committed → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.