CVE-2021-20271: A flaw was found in RPM's signature check functionality when reading a package file.
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.77% (FIRST EPSS); higher than 55.5% of all records.
- Someone with local access to the system can trigger it. No account or password is required. A user must open a link or visit a page. Special conditions such as timing or configuration are required.
- Fixed version: rpm (Debian:12) 4.16.1.2+dfsg1-1; python-rpm (openSUSE:Leap 15.2) 4.14.1-lp152.18.3.1; rpm (openSUSE:Leap 15.2) 4.14.1-lp152.18.3.1.
- Mentioned 3 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to rpm (Debian:12) 4.16.1.2+dfsg1-1; python-rpm (openSUSE:Leap 15.2) 4.14.1-lp152.18.3.1; rpm (openSUSE:Leap 15.2) 4.14.1-lp152.18.3.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Mar 26, 2021
- Updated
- Jun 16, 2026
- EPSS
- 0.7% · 55th percentile
- CWE
- CWE-345
Report tools
Action score
28
Monitor
Low priority for now.
- CVSS
- 28 / 40 · 7.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| rpm | rpm | cpe:2.3:a:rpm:rpm |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| starwindsoftware | starwind virtual san | cpe:2.3:a:starwindsoftware:starwind_virtual_san |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora32
- fedoraproject fedora33
- fedoraproject fedora34
- redhat enterprise linux8.0
- rpm rpm4.15.0 and later · before 4.15.1.3
- rpm rpm4.16.0 and later · before 4.16.1.3
- rpm rpm4.15.0
- rpm rpm4.16.0
- starwindsoftware starwind virtual sanv8
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
n/a rpm
- all versionsaffected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | rpm | before 4.16.1.2+dfsg1-1 | 4.16.1.2+dfsg1-1 |
| openSUSE:Leap 15.2 | python-rpm | before 4.14.1-lp152.18.3.1 | 4.14.1-lp152.18.3.1 |
| openSUSE:Leap 15.2 | rpm | before 4.14.1-lp152.18.3.1 | 4.14.1-lp152.18.3.1 |
| openSUSE:Leap 15.3 | libdnf | before 0.62.0-5.3.1 | 0.62.0-5.3.1 |
| openSUSE:Leap 15.3 | python-rpm | before 4.14.3-37.2 | 4.14.3-37.2 |
| openSUSE:Leap 15.3 | rpm | before 4.14.3-37.2 | 4.14.3-37.2 |
| openSUSE:Leap 15.3 | rpm-ndb | before 4.14.3-37.2 | 4.14.3-37.2 |
| Red Hat:enterprise_linux:7::client | rpm | before 0:4.11.3-48.el7_9 | 0:4.11.3-48.el7_9 |
| Red Hat:enterprise_linux:7::client | rpm-apidocs | before 0:4.11.3-48.el7_9 | 0:4.11.3-48.el7_9 |
| Red Hat:enterprise_linux:7::client | rpm-build | before 0:4.11.3-48.el7_9 | 0:4.11.3-48.el7_9 |
| Red Hat:enterprise_linux:7::client | rpm-build-libs | before 0:4.11.3-48.el7_9 | 0:4.11.3-48.el7_9 |
| Red Hat:enterprise_linux:7::client | rpm-cron | before 0:4.11.3-48.el7_9 | 0:4.11.3-48.el7_9 |
| Red Hat:enterprise_linux:7::client | rpm-debuginfo | before 0:4.11.3-48.el7_9 | 0:4.11.3-48.el7_9 |
| Red Hat:enterprise_linux:7::client | rpm-devel | before 0:4.11.3-48.el7_9 | 0:4.11.3-48.el7_9 |
| Red Hat:enterprise_linux:7::client | rpm-libs | before 0:4.11.3-48.el7_9 | 0:4.11.3-48.el7_9 |
| Red Hat:enterprise_linux:7::client | rpm-plugin-systemd-inhibit | before 0:4.11.3-48.el7_9 | 0:4.11.3-48.el7_9 |
| Red Hat:enterprise_linux:7::client | rpm-python | before 0:4.11.3-48.el7_9 | 0:4.11.3-48.el7_9 |
| Red Hat:enterprise_linux:7::client | rpm-sign | before 0:4.11.3-48.el7_9 | 0:4.11.3-48.el7_9 |
| Red Hat:enterprise_linux:8::appstream | python3-rpm-debuginfo | before 0:4.14.3-14.el8_4 | 0:4.14.3-14.el8_4 |
| Red Hat:enterprise_linux:8::appstream | rpm-build | before 0:4.14.3-14.el8_4 | 0:4.14.3-14.el8_4 |
| Red Hat:enterprise_linux:8::appstream | rpm-build-debuginfo | before 0:4.14.3-14.el8_4 | 0:4.14.3-14.el8_4 |
| Red Hat:enterprise_linux:8::appstream | rpm-build-libs-debuginfo | before 0:4.14.3-14.el8_4 | 0:4.14.3-14.el8_4 |
| Red Hat:enterprise_linux:8::appstream | rpm-debuginfo | before 0:4.14.3-14.el8_4 | 0:4.14.3-14.el8_4 |
| Red Hat:enterprise_linux:8::appstream | rpm-debugsource | before 0:4.14.3-14.el8_4 | 0:4.14.3-14.el8_4 |
+82
Same product
rpm: all recordsOther highest-scoring records for the same primary product.
- CVE-2014-8118Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section 42Plan
- CVE-2011-3378RPM 4.4.x through 4.9.x, probably before 4.9.1.2, allows remote attackers to cause a denial of service (memory corruption) and possibly exec39Monitor
- CVE-2013-6435Race condition in RPM 4.11.1 and earlier allows remote attackers to execute arbitrary code via a crafted RPM file whose installation extract32Monitor
Published before and after this one in the same product
- ← EarlierCVE-2017-7501Nov 22, 2017 · It was found that versions of rpm before 4.13.0.2 use temporary files with predictable names when installing an RPM.31Monitor
- ← EarlierCVE-2017-7500Aug 13, 2018 · It was found that rpm did not properly handle RPM installations when a destination path was a symbolic link to a directory, possibly changin31Monitor
- Later →CVE-2021-20266Apr 30, 2021 · A flaw was found in RPM's hdrblobInit() in lib/header.c.19Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:rpm | 4.16.1.2+dfsg1-1 · Debian:12 | Package registry (OSV) |
| opensuse:libdnf | 0.62.0-5.3.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python-rpm | 4.14.1-lp152.18.3.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:rpm | 4.14.1-lp152.18.3.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:rpm-ndb | 4.14.3-37.2 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:python3-rpm-debuginfo | 0:4.14.3-14.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:rpm-build | 0:4.14.3-14.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:rpm-build-debuginfo | 0:4.14.3-14.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:rpm-build-libs-debuginfo | 0:4.14.3-14.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:rpm-debuginfo | 0:4.14.3-14.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:rpm-debugsource | 0:4.14.3-14.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:rpm-devel-debuginfo | 0:4.14.3-14.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:rpm-libs-debuginfo | 0:4.14.3-14.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:rpm-plugin-fapolicyd | 0:4.14.3-14.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:rpm-plugin-fapolicyd-debuginfo | 0:4.14.3-14.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:rpm-plugin-ima-debuginfo | 0:4.14.3-14.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:rpm-plugin-prioreset-debuginfo | 0:4.14.3-14.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:rpm | 0:4.14.3-14.el8_4 · Rocky Linux:8 | Package registry (OSV) |
| suse:python-rpm | 4.14.3-37.2 · SUSE:Linux Enterprise Module for Basesystem 15 SP3 | Package registry (OSV) |
| suse:python3-rpm | 4.11.2-16.26.1 · SUSE:Linux Enterprise Server 12 SP5 | Package registry (OSV) |
| suse:rpm | 4.14.3-37.2 · SUSE:Linux Enterprise Module for Basesystem 15 SP3 | Package registry (OSV) |
| suse:rpm-ndb | 4.14.3-37.2 · SUSE:Linux Enterprise Module for Public Cloud 15 SP3 | Package registry (OSV) |
| suse:rpm-python | 4.11.2-16.26.1 · SUSE:Linux Enterprise Server 12 SP5 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-21-0772 · Sep 23, 2021(RedHat Güvenlik Zafiyeti)
- TR-21-0669 · Aug 23, 2021(RedHat Güvenlik Zafiyeti)
- TR-21-0661 · Aug 19, 2021(RedHat Güvenlik Güncellemesi Yayınladı)
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-345 · Insufficient Verification of Data AuthenticityCVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- JSON Hijacking (aka JavaScript Hijacking)CAPEC-111likelihood: High · High
- Cache PoisoningCAPEC-141likelihood: High · High
- DNS Cache PoisoningCAPEC-142likelihood: High · High
- Content SpoofingCAPEC-148likelihood: Medium · Medium
- Spoofing of UDDI/ebXML MessagesCAPEC-218Medium
- Application API Message Manipulation via Man-in-the-MiddleCAPEC-384Low
- Transaction or Event Tampering via Application API ManipulationCAPEC-385Medium
- Application API Navigation RemappingCAPEC-386Medium
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- github.com/rpm-software-management/rpm/commit/d6a86b5e69e46cc283b1e06c92343319beb42e21
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMGXO3W6DHPO62GJ4VVF5DEUX5DRUR5K/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VHRPNBCRPDJHHQE3MBPSZK4H7X2IM7AC/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YILPBTPSBRYL4POBI3F4YUSVPSOQNJBY/
- security.gentoo.org/glsa/202107-43
- www.starwindsoftware.com/security/sw-20220805-0002/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.