{
  "threat_severity" : "Moderate",
  "public_date" : "2021-09-28T00:00:00Z",
  "bugzilla" : {
    "description" : "rpm: RPM does not require subkeys to have a valid binding signature",
    "id" : "1941098",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1941098"
  },
  "cvss3" : {
    "cvss3_base_score" : "4.4",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-347",
  "details" : [ "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.", "There is a flaw in RPM's signature functionality. OpenPGP subkeys are associated with a primary key via a \"binding signature.\"[1] 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.\n1. https://tools.ietf.org/html/rfc4880#section-5.2.1" ],
  "statement" : "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.",
  "acknowledgement" : "Red Hat would like to thank Demi M. Obenour for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2022-02-01T00:00:00Z",
    "advisory" : "RHSA-2022:0368",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "rpm-0:4.14.3-19.el8_5.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2022-02-01T00:00:00Z",
    "advisory" : "RHSA-2022:0368",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "rpm-0:4.14.3-19.el8_5.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Extended Update Support",
    "release_date" : "2022-02-22T00:00:00Z",
    "advisory" : "RHSA-2022:0634",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.2",
    "package" : "rpm-0:4.14.2-40.el8_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Extended Update Support",
    "release_date" : "2022-01-25T00:00:00Z",
    "advisory" : "RHSA-2022:0254",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.4",
    "package" : "rpm-0:4.14.3-14.el8_4.2"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "rpm",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "rpm",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "rpm",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2021-3521\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-3521" ],
  "name" : "CVE-2021-3521",
  "csaw" : false
}