CVE-2021-3979: Medium severity red hat ceph storage vulnerability

Published Nov 19, 2021
·
Updated

A key length flaw was found in Red Hat Ceph Storage. An attacker can exploit the fact that the key length is incorrectly passed in an encryption algorithm to create a non random key, which is weaker and can be exploited for loss of confidentiality and integrity on encrypted disks.

Other sources

The key length for encrypted devices created using ceph-volume is incorrect. This is due to a bug in cephvolume/util/encryption.py, where upon writing a key using osddmcryptkeysize it does not pass the key size to the format and open operations following. The default key is them applied in cryptsetup. All versions since Luminous are assumed affected.

Red Hat

Affected Software

28 affected componentsFixes available
redhat/ceph<2:14.2.22-110.el7c
2:14.2.22-110.el7c
redhat/ceph<2:16.2.7-98.el8c
2:16.2.7-98.el8c
ubuntu/ceph<12.2.13-0ubuntu0.18.04.11
12.2.13-0ubuntu0.18.04.11
ubuntu/ceph<15.2.17-0ubuntu0.20.04.3
15.2.17-0ubuntu0.20.04.3
ubuntu/ceph<16.2.9+
16.2.9+
debian/ceph<=12.2.11+dfsg1-2.1, <=14.2.21-1
12.2.11+dfsg1-2.1+deb10u116.2.11+ds-216.2.11+ds-518.2.1+ds-9
redhat Ceph Storage=3.0
redhat Ceph Storage=4.3
redhat Ceph Storage=5.1
redhat Openshift Container Storage=4.0
redhat Openshift Data Foundation=4.0
redhat Openstack Platform=13.0
redhat Ceph Storage For Ibm Z Systems=4.0
redhat Ceph Storage=4.0
redhat Ceph Storage=5.0
redhat Ceph Storage For Power=4.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=7.0
Fedoraproject Fedora=35
Fedoraproject Fedora=37
All of the following
Any of the following
redhat Ceph Storage=4.0
redhat Ceph Storage=5.0
redhat Ceph Storage For Power=4.0
redhat Enterprise Linux=8.0
All of the following
Any of the following
redhat Ceph Storage=4.0
redhat Ceph Storage=5.0
redhat Ceph Storage For Power=4.0
redhat Enterprise Linux=7.0

Event History

Nov 19, 2021
Data Sourced
via Red Hat·02:29 AM
DescriptionSeverityAffected Software
Jan 11, 2022
CVE Published
12:00 AM
Aug 25, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2021-3979?

CVE-2021-3979 is a key length flaw found in Red Hat Ceph Storage that can be exploited to create a non-random key, resulting in loss of confidentiality and integrity on encrypted disks.

2

How severe is CVE-2021-3979?

CVE-2021-3979 has a severity score of 6.5, which is considered medium.

3

Which software versions are affected by CVE-2021-3979?

The affected software versions include Red Hat Ceph Storage 12.2.13-0ubuntu0.18.04.11, 15.2.17-0ubuntu0.20.04.3, 16.2.9+, and 2:14.2.22-110.el7c and 2:16.2.7-98.el8c.

4

How can I fix CVE-2021-3979?

To fix CVE-2021-3979, update Red Hat Ceph Storage to version 16.2.11+ds-2 or higher.

5

Where can I find more information about CVE-2021-3979?

You can find more information about CVE-2021-3979 on the Red Hat Bugzilla website: https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2018529

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203