CVE-2021-3521

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3521
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3521.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-3521
Related
Published
2022-08-22T15:15:13Z
Modified
2024-09-18T03:15:15.471741Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
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.

References

Affected packages

Debian:11 / rpm

Package

Name
rpm
Purl
pkg:deb/debian/rpm?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.16.1.2+dfsg1-3
4.17.0+dfsg1-1
4.17.0+dfsg1-2
4.17.0+dfsg1-3
4.17.0+dfsg1-4
4.17.1.1+dfsg-1
4.18.0+dfsg-1
4.18.2+dfsg-1
4.18.2+dfsg-1.1~exp1
4.18.2+dfsg-2
4.18.2+dfsg-2.1~exp1
4.18.2+dfsg-2.1
4.19.1.1+dfsg-1~exp
4.19.1.1+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / rpm

Package

Name
rpm
Purl
pkg:deb/debian/rpm?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.18.0+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / rpm

Package

Name
rpm
Purl
pkg:deb/debian/rpm?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.18.0+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/rpm-software-management/rpm

Affected ranges

Type
GIT
Repo
https://github.com/rpm-software-management/rpm
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

rpm-4.*

rpm-4.11.0-alpha
rpm-4.12.0-alpha
rpm-4.13.0-alpha
rpm-4.15.0-alpha
rpm-4.16.0-alpha
rpm-4.17.0-alpha
rpm-4.4-release
rpm-4.4.1-release
rpm-4.4.2-release
rpm-4.4.2.1-rc1
rpm-4.4.2.1-rc2
rpm-4.8.0-beta1