CVE-2021-20271

Source
https://cve.org/CVERecord?id=CVE-2021-20271
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20271.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-20271
Downstream
Related
Published
2021-03-26T17:15:13Z
Modified
2026-04-10T04:29:16.880482Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/rpm-software-management/rpm

Affected ranges

Type
GIT
Repo
https://github.com/rpm-software-management/rpm
Events
Introduced
Fixed
Introduced
Fixed
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "4.15.0"
        },
        {
            "fixed": "4.15.1.3"
        },
        {
            "introduced": "4.16.0"
        },
        {
            "fixed": "4.16.1.3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "4.15.0-alpha"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "4.15.0-beta1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "4.15.0-rc1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "4.16.0-alpha"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "4.16.0-beta2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "4.16.0-beta3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "4.16.0-rc1"
        }
    ]
}

Affected versions

rpm-4.*
rpm-4.11.0-alpha
rpm-4.12.0-alpha
rpm-4.13.0-alpha
rpm-4.15.0-alpha
rpm-4.15.0-beta1
rpm-4.15.0-rc1
rpm-4.15.0-release
rpm-4.15.1-release
rpm-4.16.0-alpha
rpm-4.16.0-beta2
rpm-4.16.0-beta3
rpm-4.16.0-rc1
rpm-4.16.0-release
rpm-4.16.1-release
rpm-4.16.1.1-release
rpm-4.16.1.2-release
rpm-4.4-release
rpm-4.4.1-release
rpm-4.4.2-release
rpm-4.4.2.1-rc1
rpm-4.4.2.1-rc2
rpm-4.8.0-beta1

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "8.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "32"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "33"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "34"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "v8-build14398"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20271.json"