UBUNTU-CVE-2021-3421

Source
https://ubuntu.com/security/CVE-2021-3421
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3421.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-3421
Related
Published
2021-05-19T14:15:00Z
Modified
2024-10-15T14:08:12Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

A flaw was found in the RPM package in the read functionality. This flaw allows an attacker who can convince a victim to install a seemingly verifiable package or compromise an RPM repository, to cause RPM database corruption. The highest threat from this vulnerability is to data integrity. This flaw affects RPM versions before 4.17.0-alpha.

References

Affected packages

Ubuntu:Pro:14.04:LTS / rpm

Package

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

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"
        }
    ]
}