Improper Verification of Cryptographic Signature Affecting rpm-libs package, versions <0:4.14.3-19.el8_5.2
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS8-RPMLIBS-1967067
- published 30 Sep 2021
- disclosed 28 Sep 2021
Introduced: 28 Sep 2021
CVE-2021-3521 Open this link in a new tabHow to fix?
Upgrade Centos:8
rpm-libs
to version 0:4.14.3-19.el8_5.2 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream rpm-libs
package and not the rpm-libs
package as distributed by Centos
.
See How to fix?
for Centos:8
relevant fixed versions and status.
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
- https://access.redhat.com/security/cve/CVE-2021-3521
- https://access.redhat.com/errata/RHSA-2022:0368
- https://github.com/rpm-software-management/rpm/pull/1795/
- https://bugzilla.redhat.com/show_bug.cgi?id=1941098
- https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2d67516fc571ec8
- https://security.gentoo.org/glsa/202210-22