Insufficiently protected credentials in Ceph - CVE-2020-27781
Published: June 1, 2021
Vulnerability details
The vulnerability allows a local user to gain access to credentials of other application users.
The vulnerability exists due to the way credentials sharing is implemented. User credentials can be manipulated and stolen by Native CephFS consumers of OpenStack Manila, resulting in potential privilege escalation. An Open Stack Manila user can request access to a share to an arbitrary cephx user, including existing users. The access key is retrieved via the interface drivers. Then, all users of the requesting OpenStack project can view the access key. This enables the attacker to target any resource that the user has access to. This can be done to even "admin" users, compromising the ceph administrator.
Affected software
Gentoo Linux
Ubuntu
openEuler
Fedora
ceph (Ubuntu package)
ceph-common (Ubuntu package)
ceph-base (Ubuntu package)
python-ceph-compat
python-rbd
librgw2
librados-devel
python3-ceph-argparse
rbd-fuse
libcephfs2
rbd-mirror
librbd1
rbd-nbd
ceph
librados2
ceph-radosgw
ceph-debugsource
python-cephfs
ceph-mon
ceph-common
librgw-devel
ceph-mds
ceph-osd
libradosstriper1
ceph-fuse
rados-objclass-devel
python-rados
ceph-test
ceph-base
python3-cephfs
ceph-debuginfo
python3-rgw
librbd-devel
libradosstriper-devel
ceph-resource-agents
python-rgw
libcephfs-devel
ceph-mgr
ceph-selinux
python3-rbd
python3-rados
How to mitigate CVE-2020-27781
ceph (Ubuntu package) - addressed in versions 12.2.13-0ubuntu0.18.04.10, 16.2.6-0ubuntu0.21.04.2
ceph-common (Ubuntu package) - addressed in versions 12.2.13-0ubuntu0.18.04.10, 16.2.6-0ubuntu0.21.04.2
ceph-base (Ubuntu package) - addressed in versions 12.2.13-0ubuntu0.18.04.10, 16.2.6-0ubuntu0.21.04.2
python-ceph-compat - update to 12.2.8-15
python-rbd - update to 12.2.8-15
librgw2 - update to 12.2.8-15
librados-devel - update to 12.2.8-15
python3-ceph-argparse - update to 12.2.8-15
rbd-fuse - update to 12.2.8-15
libcephfs2 - update to 12.2.8-15
rbd-mirror - update to 12.2.8-15
librbd1 - update to 12.2.8-15
rbd-nbd - update to 12.2.8-15
ceph - update to 12.2.8-15
librados2 - update to 12.2.8-15
ceph-radosgw - update to 12.2.8-15
ceph-debugsource - update to 12.2.8-15
python-cephfs - update to 12.2.8-15
ceph-mon - update to 12.2.8-15
ceph-common - update to 12.2.8-15
librgw-devel - update to 12.2.8-15
ceph-mds - update to 12.2.8-15
ceph-osd - update to 12.2.8-15
libradosstriper1 - update to 12.2.8-15
ceph-fuse - update to 12.2.8-15
rados-objclass-devel - update to 12.2.8-15
python-rados - update to 12.2.8-15
ceph-test - update to 12.2.8-15
ceph-base - update to 12.2.8-15
python3-cephfs - update to 12.2.8-15
ceph-debuginfo - update to 12.2.8-15
python3-rgw - update to 12.2.8-15
librbd-devel - update to 12.2.8-15
libradosstriper-devel - update to 12.2.8-15
ceph-resource-agents - update to 12.2.8-15
python-rgw - update to 12.2.8-15
libcephfs-devel - update to 12.2.8-15
ceph-mgr - update to 12.2.8-15
ceph-selinux - update to 12.2.8-15
python3-rbd - update to 12.2.8-15
python3-rados - update to 12.2.8-15
ceph - update to 15.2.8-1.fc33