[ATTENTION] Upcoming Ceph package updates (v19.2.6 Squid/v20.2.4 Tentacle): CVE-2025-30156

NOTE: Updates will be coming in this post over the next few weeks. Additional information will be posted regarding kernel support, and adjustments to the various orchestrators (MicroCeph and Charmed Ceph) to assist with the cipher change.

Summary

  • Upcoming Ubuntu package updates for Ceph v19.2.6 (Squid) and Ceph v20.2.4 (Tentacle). These are security releases fixing CVE-2025-30156: AES-CBC misuse in CephX facilitating authentication bypass, an authentication bypass in CephX that lets an attacker forge admin credentials, along with three other Common Vulnerabilities and Exposures (CVEs).

  • The fix for CVE-2025-30156 introduces a new CephX key type (aes256k) and requires manual key rotation after upgrading. Please review the critical upgrade steps before upgrading. Upgrading the packages alone does not protect a cluster; it stays vulnerable until its keys are rotated.

  • Hosts with kernel clients must be on a Linux kernel supporting aes256k prior to rotating those client’s keys. Linux 7.0 is available on Ubuntu 26.04 LTS (Resolute Raccoon) via the General Availability (GA) kernel, and via the Hardware Enablement (HWE) kernel on Ubuntu 24.04 LTS (Noble Numbat). Ubuntu 22.04 LTS (Jammy Jellyfish) and prior Ubuntu releases do not currently have a kernel supporting aes256k. Work is underway to backport the required kernel code to Noble’s Linux 6.8, which will also make it available on Jammy through the HWE kernel.

v19.2.6 Squid and v20.2.4 Tentacle have been released upstream and will be available in the Ubuntu archive in the coming weeks. v19.2.6 will be available in the updates and security pockets for Noble Numbat. v20.2.4 will be available in the updates and security pockets for Resolute Raccoon, as well as in the release pocket for Ubuntu 26.10 (Stonking Stingray).

The Squid and Tentacle releases will be subsequently available in older Ubuntu releases through the Ubuntu Cloud Archive (UCA).

CVE-2025-30156 allows anyone with access to the Ceph cluster, who is holding a valid CephX key, to forge credentials for any cluster identity, including admin. All prior versions of Ceph are affected. We strongly recommend that all users upgrade and rotate their CephX keys as soon as possible. The upgrade does not rotate keys for you: until every key has been rotated to the new aes256k type, the cluster remains exposed.

About CVE-2025-30156

CVE-2025-30156 is an authentication bypass in CephX, the protocol Ceph uses to authenticate daemons and clients. CephX encrypts its tickets with Advanced Encryption Standard in Cipher Block Chaining mode (AES-CBC) but does not authenticate them, so a ticket can be altered without detection. An attacker with any valid CephX key, however low its privileges, and access to the Ceph cluster network can forge credentials for any cluster identity, including admin.

All prior versions of Ceph are affected, as is any key of the aes type. The fix adds a new key type, aes256k, which authenticates what it encrypts. Existing keys are not converted automatically. Upgrading the packages alone does not close the vulnerability. A cluster stays exposed until every daemon and client key has been rotated to aes256k.

Upgrading notes

  • WARNING: Newly bootstrapped v19.2.6 and v20.2.4 clusters create aes256k keys by default, so clients on earlier versions cannot authenticate against them. Install client packages from the same source as the cluster.

  • WARNING: If you run RADOS Gateway (RGW) multisite, set rgw_sigv4_insecure = true before upgrading and back to false once every zone is upgraded; see the RGW multisite instructions.

  • Upgrade order: Monitors first, then all other daemons, then client hosts. Existing aes keys keep working throughout, so a mixed-version cluster stays up. Do not rotate or create keys, change auth_preferred_cipher, auth_service_cipher or auth_allowed_ciphers, or add object storage daemons (OSDs) until every daemon is on new packages. Pre-patch daemons or clients cannot use aes256k keys, and rotating their keys locks them out.

Required steps after upgrading

  1. Rotate daemon and client keys to the new aes256k key type following the guide for upgrading and rotating CephX keys. Six new health warnings and errors will appear after the upgrade; this is expected, and they are addressed as keys are rotated.

  2. Consider rotating secrets stored in the Monitor config-key store per the CVE-2026-50152 recommendations.

Other CVEs fixed in these releases

v19.2.6 and v20.2.4 also fix three other CVEs:

2 Likes

Any news on this front?