UBUNTU-CVE-2021-20271

Source
https://ubuntu.com/security/CVE-2021-20271
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20271.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-20271
Related
Published
2021-03-26T17:15:00Z
Modified
2024-12-18T16:36:03Z
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

Ubuntu:Pro:14.04:LTS / rpm

Package

Name
rpm
Purl
pkg:deb/ubuntu/rpm?arch=src?distro=esm-infra-legacy/trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.11.1-2
4.11.1-3
4.11.1-3ubuntu0.1
4.11.1-3ubuntu0.1+esm1

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:Pro:16.04:LTS / rpm

Package

Name
rpm
Purl
pkg:deb/ubuntu/rpm?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.12.0.1+dfsg1-3ubuntu0.1~esm1

Affected versions

4.*

4.12.0.1+dfsg1-3build2
4.12.0.1+dfsg1-3build3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "debugedit"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "debugedit-dbgsym"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "librpm-dbg"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "librpm-dev"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "librpm-dev-dbgsym"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "librpm3"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "librpm3-dbgsym"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "librpmbuild3"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "librpmbuild3-dbgsym"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "librpmio3"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "librpmio3-dbgsym"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "librpmsign3"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "librpmsign3-dbgsym"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "python-rpm"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "python3-rpm"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "rpm"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "rpm-common"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "rpm-common-dbgsym"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "rpm-dbgsym"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "rpm-i18n"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "rpm2cpio"
        },
        {
            "binary_version": "4.12.0.1+dfsg1-3ubuntu0.1~esm1",
            "binary_name": "rpm2cpio-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / rpm

Package

Name
rpm
Purl
pkg:deb/ubuntu/rpm?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.14.1+dfsg1-2ubuntu0.1~esm1

Affected versions

4.*

4.12.0.2+dfsg1-2build2
4.14.0+dfsg1-2
4.14.1+dfsg1-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "debugedit"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "debugedit-dbgsym"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "librpm-dev"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "librpm8"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "librpm8-dbgsym"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "librpmbuild8"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "librpmbuild8-dbgsym"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "librpmio8"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "librpmio8-dbgsym"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "librpmsign8"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "librpmsign8-dbgsym"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "python-rpm"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "python-rpm-dbgsym"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "python3-rpm"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "python3-rpm-dbgsym"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "rpm"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "rpm-common"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "rpm-common-dbgsym"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "rpm-dbgsym"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "rpm-i18n"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "rpm2cpio"
        },
        {
            "binary_version": "4.14.1+dfsg1-2ubuntu0.1~esm1",
            "binary_name": "rpm2cpio-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / rpm

Package

Name
rpm
Purl
pkg:deb/ubuntu/rpm?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.14.2.1+dfsg1-1
4.14.2.1+dfsg1-1build1
4.14.2.1+dfsg1-1build2

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:Pro:20.04:LTS / rpm

Package

Name
rpm
Purl
pkg:deb/ubuntu/rpm?arch=src?distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.14.2.1+dfsg1-1ubuntu0.1~esm1

Affected versions

4.*

4.14.2.1+dfsg1-1
4.14.2.1+dfsg1-1build1
4.14.2.1+dfsg1-1build2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "debugedit"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "debugedit-dbgsym"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "librpm-dev"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "librpm8"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "librpm8-dbgsym"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "librpmbuild8"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "librpmbuild8-dbgsym"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "librpmio8"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "librpmio8-dbgsym"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "librpmsign8"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "librpmsign8-dbgsym"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "python-rpm"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "python-rpm-dbgsym"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "python3-rpm"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "python3-rpm-dbgsym"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "rpm"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "rpm-common"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "rpm-common-dbgsym"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "rpm-dbgsym"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "rpm-i18n"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "rpm2cpio"
        },
        {
            "binary_version": "4.14.2.1+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "rpm2cpio-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / rpm

Package

Name
rpm
Purl
pkg:deb/ubuntu/rpm?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.17.0+dfsg1-1

Affected versions

4.*

4.16.1.2+dfsg1-3ubuntu1
4.16.1.2+dfsg1-3ubuntu3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "librpm-dev"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "librpm9"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "librpm9-dbgsym"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "librpmbuild9"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "librpmbuild9-dbgsym"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "librpmio9"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "librpmio9-dbgsym"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "librpmsign9"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "librpmsign9-dbgsym"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "python3-rpm"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "python3-rpm-dbgsym"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "rpm"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "rpm-common"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "rpm-common-dbgsym"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "rpm-dbgsym"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "rpm-i18n"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "rpm2cpio"
        },
        {
            "binary_version": "4.17.0+dfsg1-1",
            "binary_name": "rpm2cpio-dbgsym"
        }
    ]
}