CVE-2021-20288
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | ceph | Fixed | 15.2.12-0ubuntu0.20.04.1 | UBUNTU-CVE-2021-20288 |
| Ubuntu 18.04 | ceph | Fix pending | UBUNTU-CVE-2021-20288 | |
| Ubuntu 16.04 | ceph | Will not fix we will not be backporting this fix to Ubuntu 18.04 LTS and earlier. this is fixed in 16.2.1 in hirsute-updates but has not been pushed to the security pocket | UBUNTU-CVE-2021-20288 | |
| Ubuntu 14.04 | ceph | Fix pending | UBUNTU-CVE-2021-20288 | |
| Debian 14 | ceph | Fixed | 14.2.20-1 | DEBIAN-CVE-2021-20288 |
| Debian 13 | ceph | Fixed | 14.2.20-1 | DEBIAN-CVE-2021-20288 |
| Debian 12 | ceph | Fixed | 14.2.20-1 | DEBIAN-CVE-2021-20288 |
| Red Hat Enterprise Linux 9 | librados-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | librados2 | Not affected | ||
| Red Hat Enterprise Linux 9 | libradospp-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | librbd-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | librbd1 | Not affected | ||
| Red Hat Enterprise Linux 8 | libcephfs-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libcephfs2 | Not affected | ||
| Red Hat Enterprise Linux 8 | librados-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | librados2 | Not affected | ||
| Red Hat Enterprise Linux 8 | libradosstriper-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libradosstriper1 | Not affected | ||
| Red Hat Enterprise Linux 8 | librbd-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | librbd1 | Not affected | ||
| Red Hat Enterprise Linux 7 | ceph-common | Not affected | ||
| Red Hat Enterprise Linux 7 | librados2 | Not affected | ||
| Red Hat Enterprise Linux 7 | librados2-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | librbd1 | Not affected | ||
| Red Hat Enterprise Linux 7 | librbd1-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | python-rados | Not affected | ||
| Red Hat Enterprise Linux 7 | python-rbd | Not affected | ||
| Alpine Linux 3.18 | ceph16 | Fixed | 16.2.3-r0 | ALPINE-CVE-2021-20288 |
| Alpine Linux 3.17 | ceph16 | Fixed | 16.2.3-r0 | ALPINE-CVE-2021-20288 |
| Alpine Linux 3.16 | ceph | Fixed | 16.2.3-r0 | ALPINE-CVE-2021-20288 |
| Alpine Linux 3.15 | ceph | Fixed | 16.2.3-r0 | ALPINE-CVE-2021-20288 |
| Alpine Linux 3.14 | ceph | Fixed | 16.2.3-r0 | ALPINE-CVE-2021-20288 |
| Alpine Linux 3.12 | ceph | Fixed | 14.2.20-r0 | ALPINE-CVE-2021-20288 |
| Alpine Linux 3.11 | ceph | Fixed | 14.2.20-r0 | ALPINE-CVE-2021-20288 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ceph: affected: ceph 14.2.20
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202105-39 (vendor-advisory)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1938031
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/362CEPPYF3YMJZBEJQUT3KDE2EHYYIYQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5BPIAYTRCWAU4XWCDBK2THEFVXSC4XGK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JVWUKUUS5BCIFWRV3JCUQMAPJ4HIWSED/
- https://security.gentoo.org/glsa/202105-39
- https://lists.debian.org/debian-lts-announce/2023/10/msg00034.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.