UBUNTU-CVE-2021-20266

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

A flaw was found in RPM's hdrblobInit() in lib/header.c. This flaw allows an attacker who can modify the rpmdb to cause an out-of-bounds read. The highest threat from this vulnerability is to system availability.

References

Affected packages

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