4.7
MEDIUM
CVE-2021-3521
"RPM OpenPGP Subkey Flooding Vulnerability"
Description

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.

INFO

Published Date :

Aug. 22, 2022, 3:15 p.m.

Last Modified :

Feb. 12, 2023, 11:41 p.m.

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.0
Affected Products

The following products are affected by CVE-2021-3521 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Rpm rpm
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-3521.

URL Resource
https://access.redhat.com/security/cve/CVE-2021-3521 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1941098 Issue Tracking Patch Third Party Advisory
https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2d67516fc571ec8 Patch Third Party Advisory
https://github.com/rpm-software-management/rpm/pull/1795/ Patch Third Party Advisory
https://security.gentoo.org/glsa/202210-22 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-3521 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-3521 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 12, 2023

    Action Type Old Value New Value
    Changed Description 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. 1. https://tools.ietf.org/html/rfc4880#section-5.2.1 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.
    Removed CVSS V3.1 Red Hat, Inc. AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
    Removed Reference https://access.redhat.com/errata/RHSA-2022:0254 [No Types Assigned]
    Removed Reference https://access.redhat.com/errata/RHSA-2022:0368 [No Types Assigned]
    Removed Reference https://access.redhat.com/errata/RHSA-2022:0634 [No Types Assigned]
    Added CWE Red Hat, Inc. CWE-347
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed Description 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. 1. https://tools.ietf.org/html/rfc4880#section-5.2.1
    Added CVSS V3.1 Red Hat, Inc. AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
    Added Reference https://access.redhat.com/errata/RHSA-2022:0634 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2022:0368 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2022:0254 [No Types Assigned]
    Removed CWE Red Hat, Inc. CWE-347
  • Modified Analysis by [email protected]

    Dec. 03, 2022

    Action Type Old Value New Value
    Changed Reference Type https://security.gentoo.org/glsa/202210-22 No Types Assigned https://security.gentoo.org/glsa/202210-22 Third Party Advisory
  • CVE Modified by [email protected]

    Oct. 31, 2022

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202210-22 [No Types Assigned]
  • Reanalysis by [email protected]

    Sep. 12, 2022

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:* versions up to (excluding) 4.18.0 OR *cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:* versions up to (excluding) 4.17.1
  • Initial Analysis by [email protected]

    Aug. 26, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
    Changed Reference Type https://access.redhat.com/security/cve/CVE-2021-3521 No Types Assigned https://access.redhat.com/security/cve/CVE-2021-3521 Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1941098 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1941098 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2d67516fc571ec8 No Types Assigned https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2d67516fc571ec8 Patch, Third Party Advisory
    Changed Reference Type https://github.com/rpm-software-management/rpm/pull/1795/ No Types Assigned https://github.com/rpm-software-management/rpm/pull/1795/ Patch, Third Party Advisory
    Added CWE NIST CWE-347
    Added CPE Configuration OR *cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:* versions up to (excluding) 4.18.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-3521 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-3521 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.07 }} 0.01%

score

0.29106

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability