Improper Verification of Cryptographic Signature Affecting rpm package, versions <4.17.1-r0


0.0
medium

Snyk CVSS

    Attack Complexity High
    User Interaction Required
    Integrity High
Expand this section
NVD
4.7 medium
Expand this section
Red Hat
4.4 medium

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-ALPINE317-RPM-3143985
  • published 23 Nov 2022
  • disclosed 22 Aug 2022

How to fix?

Upgrade Alpine:3.17 rpm to version 4.17.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rpm package and not the rpm package as distributed by Alpine:3.17. See How to fix? for Alpine:3.17 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