CVE-2021-20271: A flaw was found in RPM's signature check functionality when reading a package file
43
This month
HIGH 7.0WATCHLISTUPGRADEMITIGATEMITIGATE
CVE-2021-20271 is a high-severity flaw (CVSS 7.0) affecting rpm, enterprise linux, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A flaw was found in RPM's signature check functionality when reading a package file. This flaw allows an attacker who can convince a victim to install a seemingly verifiable package, whose signature header was modified, to cause RPM database corruption and execute code. The highest threat from this vulnerability is to data integrity, confidentiality, and system availability.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-20271?
rpm: upgrade to 4.15.1.3, 4.16.1.3; enterprise linux: mitigate or apply the listed mitigation; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-20271 being exploited?
CVE-2021-20271 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-20271 affect?
CVE-2021-20271 affects rpm, enterprise linux, fedora. Severity is high (CVSS 7.0). A flaw was found in RPM's signature check functionality when reading a package file. This flaw allows an attacker who can convince a victim to install a seemingly verifiable package, whose signature header was modified, to cause RPM databas
How urgent is CVE-2021-20271?
Priority 43/100. High severity; On your watchlist
Related CVEs
CVE-2021-3521MEDIUM 4.7UPGRADE There is a flaw in RPM's signature functionality
CVE-2021-3421MEDIUM 5.5UPGRADEMITIGATE A flaw was found in the RPM package in the read functionality
CVE-2021-35939MEDIUM 6.7UPGRADEMITIGATE It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check was only implemented f
CVE-2021-35938MEDIUM 6.7UPGRADEMITIGATE A symbolic link issue was found in rpm
CVE-2021-35937MEDIUM 6.4UPGRADEMITIGATE A race condition vulnerability was found in rpm