CVEfocus › CVE database › CVE-2021-3979

CVE-2021-3979

CVSS 6.5 MediumEPSS 0.6% (higher than 50% of CVEs)Published 2022-08-25Updated 2025-11-03Assigner: redhat

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.

CWE-327

What to do

Fixed builds are available from 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

5Fixed
1Fix pending
22Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04cephNot affected
vulnerable_code_not_present
Ubuntu 22.04cephNot affected
vulnerable_code_not_present
Ubuntu 20.04cephFixed15.2.17-0ubuntu0.20.04.3UBUNTU-CVE-2021-3979
Ubuntu 18.04cephFixed12.2.13-0ubuntu0.18.04.11UBUNTU-CVE-2021-3979
Ubuntu 16.04cephFix pending
Debian 14cephFixed16.2.9+ds-1DEBIAN-CVE-2021-3979
Debian 13cephFixed16.2.9+ds-1DEBIAN-CVE-2021-3979
Debian 12cephFixed16.2.9+ds-1DEBIAN-CVE-2021-3979
Red Hat Enterprise Linux 9librados-develNot affected
Red Hat Enterprise Linux 9librados2Not affected
Red Hat Enterprise Linux 9libradospp-develNot affected
Red Hat Enterprise Linux 9librbd-develNot affected
Red Hat Enterprise Linux 9librbd1Not affected
Red Hat Enterprise Linux 8libcephfs-develNot affected
Red Hat Enterprise Linux 8libcephfs2Not affected
Red Hat Enterprise Linux 8librados-develNot affected
Red Hat Enterprise Linux 8librados2Not affected
Red Hat Enterprise Linux 8libradosstriper-develNot affected
Red Hat Enterprise Linux 8libradosstriper1Not affected
Red Hat Enterprise Linux 8librbd-develNot affected
Red Hat Enterprise Linux 8librbd1Not affected
Red Hat Enterprise Linux 7ceph-commonNot affected
Red Hat Enterprise Linux 7librados2Not affected
Red Hat Enterprise Linux 7librados2-develNot affected
Red Hat Enterprise Linux 7librbd1Not affected
Red Hat Enterprise Linux 7librbd1-develNot affected
Red Hat Enterprise Linux 7python-radosNot affected
Red Hat Enterprise Linux 7python-rbdNot affected

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.

Vendor advisories:

References

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.