#VU59993 Improper Verification of Cryptographic Signature in rpm


Published: 2022-01-25 | Updated: 2023-08-02

Vulnerability identifier: #VU59993

Vulnerability risk: Medium

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-3521

CWE-ID: CWE-347

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
rpm
/

Vendor: rpm-software-management

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to an error in RPM's signature functionality, as RPM does not check the binding signature of subkeys before importing them. A remote attacker with ability to add malicious subkey to a legitimate public key can run malicious code on the system.


Mitigation
Install update from vendor's website.

Vulnerable software versions

rpm: 4.0 - 4.17.0 rc1


External links
http://github.com/rpm-software-management/rpm/pull/1788
http://bugzilla.redhat.com/show_bug.cgi?id=1941098


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability