CVE-2022-0670 Missing authorization in Ceph

Critical 9.1 Published Updated

A flaw in Ceph Manager allows share owners to read or write any file system data, compromising confidentiality and integrity.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-0670?

CVE-2022-0670 is a critical missing authorization vulnerability in Fedoraproject Fedora, published on 25 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in Openstack manilla owning a Ceph File system "share", which enables the owner to read/write any manilla share or entire file system. The vulnerability is due to a bug in the "volumes" plugin in Ceph Manager. This allows an attacker to compromise Confidentiality and Integrity of a file system. Fixed in RHCS 5.2 and Ceph 17.2.2.

Weakness: CWE-863

Which versions are affected by CVE-2022-0670?

1 open source package ship an affected version, including ceph. It affects 3 products.

PackageAffectedFixed in
ceph BitnamiFrom 15.0.015.2.17, 16.2.10, 17.2.2
Linux distribution packages (39)
ceph Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-base Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-base-debuginfo Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-common Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-common-debuginfo Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-debugsource Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-fuse Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-fuse-debuginfo Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-grafana-dashboards Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-immutable-object-cache Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-immutable-object-cache-debuginfo Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-mds Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-mds-debuginfo Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-mgr Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-mgr-cephadm Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-mgr-dashboard Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-mgr-debuginfo Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-mgr-diskprediction-local Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-mgr-k8sevents Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-mgr-modules-core Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-mgr-rook Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-mib Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-mon Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-mon-debuginfo Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-osd Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-osd-debuginfo Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-prometheus-alerts Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-radosgw Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-radosgw-debuginfo Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-resource-agents Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-selinux Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-test Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
ceph-test-debuginfo Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
cephadm Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
cephfs-mirror Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
cephfs-mirror-debuginfo Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
cephfs-top Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
libcephfs-devel Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp
libcephfs2 Red Hat:ceph_storage:5.2::el8All versions2:16.2.8-84.el8cp

Products include Fedoraproject Fedora, Linuxfoundation Ceph, Redhat Ceph Storage.

How do I fix CVE-2022-0670?

Upgrade ceph to a fixed version for your release line: 15.2.17, 16.2.10 or 17.2.2.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2022-0670 being exploited?

There is no known exploitation of CVE-2022-0670 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-10387, AZL-38305, BIT-ceph-2022-0670, DEBIAN-CVE-2022-0670, GHSA-g5mr-95rv-q4hc, OESA-2022-2125 and 2 more.

Is CVE-2022-0670 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free