Article View: linux.debian.bugs.dist
Article #1711Bug#1151658: OSSN-0111: oslo.utils can log LUKS key material (2026-10-22)
From: Thomas Goirand
Date: Thu, 22 Oct 2026 17:20
Date: Thu, 22 Oct 2026 17:20
107 lines
5041 bytes
5041 bytes
Source: python-oslo.utils
Version: 8.2.0-4
Severity: important
Tags: patch security
X-Debbugs-Cc: Debian Security Team <team@security.debian.org>
As per upstream announce at:
https://docs.openstack.org/security-notes/OSSN-0111.html
Summary
~~~~~~~
The LUKS inspector in oslo.utils can log cryptographic material when it
inspects a LUKSv1 image with a passphrase. This can expose enough key
material to decrypt the image.
Affected Services / Software
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- oslo.utils ('>=10.1.0 <10.3.0')
Discussion
~~~~~~~~~~
The issue affects deployments only when all of the following are true:
- oslo.utils 10.1.0 or later is deployed.
- The LUKS inspector is called with a passphrase.
- DEBUG logging is enabled for ``oslo_utils.imageutils._luks``.
- The resulting logs are retained or accessible to an unintended party.
The following are logged:
- part of the PBKDF2-derived key
- decrypted LUKS key material
- the full LUKS master-key candidate
- the computed and expected master-key digests
The LUKS passphrase itself is not logged.
When the passphrase passed to the LUKS inspector is correct, the
master-key candidate generated by the inspector (and logged) can decrypt
the LUKSv1 image. Anyone with access to the logs and a copy of the
encrypted image may therefore recover its plaintext contents.
Recommended Actions
~~~~~~~~~~~~~~~~~~~
Upgrade to a release containing the fix.
If upgrading is not immediately possible, raise the log level for the
``oslo_utils.imageutils._luks`` logger above DEBUG until upgraded. This
can be done without a code change by adding an entry to the
``default_log_levels`` option under ``[DEFAULT]`` in the affected
service's configuration file, for example::
[DEFAULT]
default_log_levels = oslo_utils.imageutils._luks=INFO,<existing defaults...>
Note that ``default_log_levels`` replaces the service's built-in default
list rather than appending to it, so include the service's existing
default loggers alongside this entry.
Restrict access to logs, log archives, centralized logging systems, and
backups.
Review retained logs for previously logged LUKS key material.
If exposure is confirmed, re-encrypt affected images with a new master
key or replace them. Applying the fix does not invalidate a key that was
already logged.
**Patches**
- master: https://review.opendev.org/1011661
**Credits:** Abhishek Kekane, Red Hat
Contacts / References
~~~~~~~~~~~~~~~~~~~~~
**Author:** Abhishek Kekane, Red Hat
* This OSSN : https://docs.openstack.org/security-notes/OSSN-0111.html
* Original LaunchPad Bug : https://bugs.launchpad.net/oslo.utils/+bug/2171574
* Fix : https://review.opendev.org/c/openstack/oslo.utils/+/1011661
* Mailing List : openstack-discuss@lists.openstack.org
* OpenStack Security : https://security.openstack.org/
-- System Information:
Debian Release: 13.7
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.113+deb13-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE, TAINT_AUX
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Technical Details
Message-ID:
<NR4Cl-7e00-11@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Thomas Goirand <zigo@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1151658: OSSN-0111: oslo.utils can log LUKS key material (2026-10-22) Date: Thu, 22 Oct 2026 19:20:01 +0200 Message-ID: <NR4Cl-7e00-11@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Oct 22 17:19:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.9 Reply-To: Thomas Goirand <zigo@debian.org>, 1151658@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team@security.debian.org, team+openstack@tracker.debian.org X-Debian-Pr-Message: report 1151658 X-Debian-Pr-Package: src:python-oslo.utils X-Debian-Pr-Keywords: patch security X-Debian-Pr-Source: python-oslo.utils Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1998143 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 107 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 22 Oct 2026 19:16:42 +0200 X-Original-Message-ID: <179268940253.5990.9249250019095554717.reportbug@zbuz.infomaniak.ch>