CVE-2021-20288 Auth bypass in ceph
Attackers can reuse authentication keys to access other users' data, compromising confidentiality, integrity, and availability in Ceph clusters.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-20288?
CVE-2021-20288 is a high-severity authentication bypass vulnerability in Debian Debian Linux, published on 15 Apr 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
An authentication flaw was found in ceph in versions before 14.2.20. When the monitor handles CEPHX_GET_AUTH_SESSION_KEY requests, it doesn't sanitize other_keys, allowing key reuse. An attacker who can request a global_id can exploit the ability of any user to request a global_id previously associated with another user, as ceph does not force the reuse of old keys to generate new ones. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Weakness: CWE-287
Which versions are affected by CVE-2021-20288?
1 open source package ship an affected version, including ceph. It affects 4 products.
| Package | Affected | Fixed in |
|---|---|---|
ceph Bitnami | All versions | 14.2.21 |
Linux distribution packages (32)
ceph Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
ceph-base Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
ceph-common Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
ceph-debuginfo Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
ceph-fuse Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
ceph-mds Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
ceph-mgr Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
ceph-mon Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
ceph-osd Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
ceph-radosgw Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
ceph-selinux Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
ceph-test Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
libcephfs-devel Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
libcephfs2 Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
librados-devel Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
librados2 Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
libradosstriper1 Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
librbd-devel Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
librbd1 Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
librgw-devel Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
librgw2 Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
python-cephfs Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
python-rados Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
python-rbd Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
python-rgw Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
rbd-mirror Red Hat:ceph_storage:3::el7 | All versions | 2:12.2.12-141.el7cp |
ceph SUSE:Enterprise Storage 7 | All versions | 15.2.11.83+g8a15f484c2-3.20.1 |
ceph SUSE:Linux Enterprise Module for Basesystem 15 SP2 | All versions | 15.2.11.83+g8a15f484c2-3.20.1 |
ceph SUSE:Linux Enterprise Module for Basesystem 15 SP3 | All versions | 15.2.11.83+g8a15f484c2-3.20.1 |
ceph openSUSE:Leap 15.2 | All versions | 15.2.11.83+g8a15f484c2-lp152.2.15.1 |
ceph-test openSUSE:Leap 15.2 | All versions | 15.2.11.83+g8a15f484c2-lp152.2.15.1 |
benji openSUSE:Tumbleweed | All versions | 0.15.0-1.2 |
Products include Debian Debian Linux, Fedoraproject Fedora, Linuxfoundation Ceph, Redhat Ceph Storage.
How do I fix CVE-2021-20288?
Upgrade ceph to 14.2.21 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2021-20288 being exploited?
There is no known exploitation of CVE-2021-20288 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BIT-ceph-2021-20288, DEBIAN-CVE-2021-20288, GHSA-39jx-6759-44c6, MGASA-2021-0207, OESA-2022-1715, RHSA-2022:1394 and 4 more.