CVE catalog

CVE-2021-20271

rpm: CVE-2021-20271

[CVE catalog]

Severity
Medium · CVSS 6.7CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.77% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianrpmsid6.1.0-1fixed
Debianrpmforky6.1.0-1fixed
Debianrpmtrixie4.20.1+dfsg-3fixed
Debianrpmbookworm4.18.0+dfsg-1+deb12u1fixed
Ubunturpmpro4.14.2.1+dfsg1-1vulnerable
Ubunturpmpro4.14.2.1+dfsg1-1build1vulnerable
Ubunturpmpro4.14.2.1+dfsg1-1build2vulnerable
Ubunturpmpro4.14.2.1+dfsg1-1ubuntu0.1~esm1fixed
Opensuselibdnfleap 15.30.62.0-5.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrpmsourcesid4.16.1.2+dfsg1-1not yet assignedNot reported[985308]
Debianrpmsourceforky4.16.1.2+dfsg1-1not yet assignedNot reported[985308]
Debianrpmsourcetrixie4.16.1.2+dfsg1-1not yet assignedNot reported[985308]
Debianrpmsourcebookworm4.16.1.2+dfsg1-1not yet assignedNot reported[985308]
Ubunturpmdebpro4.14.2.1+dfsg1-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2021-20271Not reported
Opensuselibdnfrpmleap 15.30.62.0-5.3.1Not reportedOPENSUSE-SU-2021:2685-1Not reported

[Debian bug #985308]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [librpm9]Fixed

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

  • Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

  • [librpm-dev]Fixed

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

  • [librpmio9]Fixed

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

  • Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

  • Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

  • [rpm]Fixed
    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

  • [rpm2cpio]Fixed

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

  • [rpm-common]Fixed

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

  • [rpm-i18n]Fixed

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · all · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · all · bookworm

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · bookworm; dsa · rpm · debian · 12

[Debian 13 (Trixie)]

  • [librpm10]Fixed

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

  • Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

  • [librpm-dev]Fixed

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

  • [librpmio10]Fixed

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

  • Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

  • Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

  • [rpm]Fixed
    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

  • [rpm2cpio]Fixed

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

  • [rpm-common]Fixed

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

  • [rpm-i18n]Fixed

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · all · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

    • 4.20.1+dfsg-3 · all · trixie

      Fixed · Fixed: 4.16.1.2+dfsg1-1

      dsa · rpm · debian · 13

Observed:

References