Bug 1191175 - (CVE-2021-3521) VUL-1: CVE-2021-3521: rpm: RPM does not require subkeys to have a valid binding signature
VUL-1: CVE-2021-3521: rpm: RPM does not require subkeys to have a valid bindi...
Status: NEW
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
Other Other
: P4 - Low : Minor
: ---
Assigned To: Michael Schröder
Security Team bot
Depends on:
  Show dependency treegraph
Reported: 2021-09-30 10:07 UTC by Alexander Bergmann
Modified: 2022-09-05 13:18 UTC (History)
5 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
gabriele.sonnu: needinfo? (mls)


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bergmann 2021-09-30 10:07:45 UTC

RPM does not require subkeys to have a valid binding signature. This could potentially result in a signature being wrongly trusted in the following (rather contrived) scenario: A malicious subkey (to which an attacker has the secret key) is added to a legitimate public key, via a process that rejects main keys but not subkeys and does not itself check binding signatures. The main key is exported and then imported into RPM.

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.

Upstream commit:

Comment 1 Alexander Bergmann 2021-09-30 11:28:34 UTC
The code on SLE-11 has no pgpPrtParams function. 

In general the above statement is also valid for SLE-11.
Comment 2 Gabriele Sonnu 2021-12-24 08:33:14 UTC
Hi, any update on this?