Skip to content
Heist/ feed
Back to feed
MediumFix available

rpm — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-3521

There is a flaw in RPM's signature functionality. OpenPGP subkeys are associated with a primary key via a "binding signature." RPM does not check the binding signature of subkeys prior to importing them. If an attacker is able to add or socially engineer another party to add a malicious subkey to a legitimate public key, RPM could wrongly trust a malicious signature. The greatest impact of this flaw is to data integrity. To exploit this flaw, an attacker must either compromise an RPM repository or convince an administrator to install an untrusted RPM or public key. It is strongly recommended to only use RPMs and public keys from trusted sources.

Products
rpm
Affected versions
Not specified
Fixed versions
4.18.0+dfsg-1
CVEs
CVE-2021-3521
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:59 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-3521

core-osv · Original source

Published 22 Aug 2022, 15:15 UTC

There is a flaw in RPM's signature functionality. OpenPGP subkeys are associated with a primary key via a "binding signature." RPM does not check the binding signature of subkeys prior to importing them. If an attacker is able to add or socially engineer another party to add a malicious subkey to a legitimate public key, RPM could wrongly trust a malicious signature. The greatest impact of this flaw is to data integrity. To exploit this flaw, an attacker must either compromise an RPM repository or convince an administrator to install an untrusted RPM or public key. It is strongly recommended to only use RPMs and public keys from trusted sources.

osv:DEBIAN-CVE-2021-3521

rpm

Fixed versions: 4.18.0+dfsg-1

rpm

Fixed versions: 4.18.0+dfsg-1

rpm

Fixed versions: 4.18.0+dfsg-1

Complete source record
{
  "id": "a192ca8f8abadb7bb9d2e93fd76643281e52e89783b18a865a1f96acb547f28f",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-3521",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-3521",
    "summary": "There is a flaw in RPM's signature functionality. OpenPGP subkeys are associated with a primary key via a \"binding signature.\" RPM does not check the binding signature of subkeys prior to importing them. If an attacker is able to add or socially engineer another party to add a malicious subkey to a legitimate public key, RPM could wrongly trust a malicious signature. The greatest impact of this flaw is to data integrity. To exploit this flaw, an attacker must either compromise an RPM repository or convince an administrator to install an untrusted RPM or public key. It is strongly recommended to only use RPMs and public keys from trusted sources.",
    "evidence": "osv:DEBIAN-CVE-2021-3521",
    "products": [
      {
        "name": {
          "value": "rpm",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.18.0+dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "rpm",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.18.0+dfsg-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "rpm",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.18.0+dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-3521",
      "aliases": [
        "DEBIAN-CVE-2021-3521"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.18.0+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "rpm",
            "purl": "pkg:deb/debian/rpm?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3521.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.18.0+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "rpm",
            "purl": "pkg:deb/debian/rpm?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3521.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.18.0+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "rpm",
            "purl": "pkg:deb/debian/rpm?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3521.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:04:00.105951888Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-3521"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-3521"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-3521",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 422899,
  "published_at": "2022-08-22T15:15:13.473+00:00"
}