Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3421

A flaw was found in the RPM package in the read functionality. This flaw allows an attacker who can convince a victim to install a seemingly verifiable package or compromise an RPM repository, to cause RPM database corruption. The highest threat from this vulnerability is to data integrity. This flaw affects RPM versions before 4.17.0-alpha.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3421
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:49 UTC · Revision 1

Source evidence

CVE-2021-3421

core-osv · Original source

Published 19 May 2021, 14:15 UTC

A flaw was found in the RPM package in the read functionality. This flaw allows an attacker who can convince a victim to install a seemingly verifiable package or compromise an RPM repository, to cause RPM database corruption. The highest threat from this vulnerability is to data integrity. This flaw affects RPM versions before 4.17.0-alpha.

osv:CVE-2021-3421
Complete source record
{
  "id": "3a42a6bf16f455330da81ed062983fe78020a55227babafcf9bc09d60d5dd097",
  "url": "https://osv.dev/vulnerability/CVE-2021-3421",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3421",
    "summary": "A flaw was found in the RPM package in the read functionality. This flaw allows an attacker who can convince a victim to install a seemingly verifiable package or compromise an RPM repository, to cause RPM database corruption. The highest threat from this vulnerability is to data integrity. This flaw affects RPM versions before 4.17.0-alpha.",
    "evidence": "osv:CVE-2021-3421",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-3421",
      "aliases": [
        "CVE-2021-3421"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rpm-software-management/rpm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3659b8a04f5b8bacf6535e0124e7fe23f15286bd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.16.1.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "rpm-4.16.1.2-release",
            "rpm-4.16.1.1-release",
            "rpm-4.16.1-release",
            "rpm-4.16.0-release",
            "rpm-4.16.0-beta3",
            "rpm-4.16.0-beta2",
            "rpm-4.16.0-alpha",
            "rpm-4.15.0-alpha",
            "rpm-4.13.0-alpha",
            "rpm-4.12.0-alpha",
            "rpm-4.11.0-alpha",
            "rpm-4.8.0-beta1",
            "rpm-4.4.2.1-rc2",
            "rpm-4.4.2.1-rc1",
            "rpm-4.4.2-release",
            "rpm-4.4.1-release",
            "rpm-4.4-release"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3421.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:22.625141820Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMGXO3W6DHPO62GJ4VVF5DEUX5DRUR5K/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VHRPNBCRPDJHHQE3MBPSZK4H7X2IM7AC/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YILPBTPSBRYL4POBI3F4YUSVPSOQNJBY/",
        "https://security.gentoo.org/glsa/202107-43",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1927747"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "32"
                  },
                  {
                    "last_affected": "32"
                  },
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  },
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-3421",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430716,
  "published_at": "2021-05-19T14:15:07.457+00:00"
}