# CVE-2021-3979: A key length flaw was found in Red Hat Ceph Storage.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Published: 2022-08-25T00:00:00.000Z
- Modified: 2026-06-17T04:06:19.907Z
- Weaknesses: CWE-287, CWE-327
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- ceph: Not-Known
- redhat ceph_storage: 3.0; 4.3; 5.1; 4.0; 5.0
- 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_for_power: 4.0
- fedoraproject fedora: 35; 37

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2024788> (issue-tracking, vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2021-3979> (vendor-advisory)
- <https://tracker.ceph.com/issues/54006> (issue-tracking, vendor-advisory)
- <https://github.com/ceph/ceph/pull/44765> (patch, third-party-advisory)
- <https://github.com/ceph/ceph/commit/47c33179f9a15ae95cc1579a421be89378602656> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPOK44BESMIFW6BIOGCN452AKKOIIT6Q/> (mailing-list, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00034.html>
- <https://lists.debian.org/debian-lts-announce/2025/09/msg00025.html>

## Sources

- CVE List: [CVE-2021-3979](https://www.cve.org/CVERecord?id=CVE-2021-3979), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2021-3979](https://nvd.nist.gov/vuln/detail/CVE-2021-3979), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3979 · Whole record: https://cve.day/CVE-2021-3979.json · Rebuilt by cve.day 2026-11-25T22:58:07.792Z
