Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3979

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3979
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:54 UTC · Revision 1

Source evidence

CVE-2021-3979

core-osv · Original source

Published 25 Aug 2022, 20:15 UTC

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.

osv:CVE-2021-3979
Complete source record
{
  "id": "e47c629ed5b5003596e48b50be439605c2228eafdca16ea181d0ab3716713b28",
  "url": "https://osv.dev/vulnerability/CVE-2021-3979",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3979",
    "summary": "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.",
    "evidence": "osv:CVE-2021-3979",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-3979",
      "aliases": [
        "CVE-2021-3979"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ceph/ceph",
              "type": "GIT",
              "events": [
                {
                  "introduced": "457c145aefd30a852f525fbf76a871f676502c0a"
                },
                {
                  "last_affected": "457c145aefd30a852f525fbf76a871f676502c0a"
                },
                {
                  "fixed": "47c33179f9a15ae95cc1579a421be89378602656"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:redhat:openstack_platform:13.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "13.0"
                      },
                      {
                        "last_affected": "13.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "47c33179f9a15ae95cc1579a421be89378602656"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "13.0",
            "v13.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3979.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:54.763185706Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2023/10/msg00034.html",
        "https://lists.debian.org/debian-lts-announce/2025/09/msg00025.html",
        "https://access.redhat.com/security/cve/CVE-2021-3979",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2024788",
        "https://tracker.ceph.com/issues/54006",
        "https://github.com/ceph/ceph/commit/47c33179f9a15ae95cc1579a421be89378602656",
        "https://github.com/ceph/ceph/pull/44765",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPOK44BESMIFW6BIOGCN452AKKOIIT6Q/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "35"
                  },
                  {
                    "last_affected": "35"
                  },
                  {
                    "introduced": "37"
                  },
                  {
                    "last_affected": "37"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:ceph_storage:3.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:redhat:ceph_storage:4.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:redhat:ceph_storage:4.3:*:*:*:*:*:*:*",
              "cpe:2.3:a:redhat:ceph_storage:5.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:redhat:ceph_storage:5.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:ceph_storage",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.0"
                  },
                  {
                    "last_affected": "3.0"
                  },
                  {
                    "introduced": "4.3"
                  },
                  {
                    "last_affected": "4.3"
                  },
                  {
                    "introduced": "5.1"
                  },
                  {
                    "last_affected": "5.1"
                  },
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  },
                  {
                    "introduced": "5.0"
                  },
                  {
                    "last_affected": "5.0"
                  },
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  },
                  {
                    "introduced": "5.0"
                  },
                  {
                    "last_affected": "5.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:ceph_storage_for_ibm_z_systems:4.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:ceph_storage_for_ibm_z_systems",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:ceph_storage_for_power:4.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:ceph_storage_for_power",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  },
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:openshift_container_storage:4.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:openshift_container_storage",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:openshift_data_foundation:4.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:openshift_data_foundation",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-3979",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386449,
  "published_at": "2022-08-25T20:15:09.473+00:00"
}