CVEfocus › CVE database › CVE-2021-35937

CVE-2021-35937

EPSS 0.3% (higher than 18% of CVEs)Published 2022-08-25Updated 2024-08-04Assigner: redhat

A race condition vulnerability was found in rpm. A local unprivileged user could use this flaw to bypass the checks that were introduced in response to CVE-2017-7500 and CVE-2017-7501, potentially gaining root privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

CWE-59

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

74Fixed
4Fix pending
1Under investigation
17Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04rpmNot affected
vulnerable_code_not_present
Ubuntu 25.10rpmNot affected
vulnerable_code_not_present
Ubuntu 24.04rpmNot affected
vulnerable_code_not_present
Ubuntu 22.04rpmUnder investigationUBUNTU-CVE-2021-35937
Ubuntu 20.04rpmFix pendingUBUNTU-CVE-2021-35937
Ubuntu 18.04rpmFix pendingUBUNTU-CVE-2021-35937
Ubuntu 16.04rpmFix pendingUBUNTU-CVE-2021-35937
Ubuntu 14.04rpmFix pendingUBUNTU-CVE-2021-35937
Debian 14rpmFixed4.18.0+dfsg-1DEBIAN-CVE-2021-35937
Debian 13rpmFixed4.18.0+dfsg-1DEBIAN-CVE-2021-35937
Debian 12rpmFixed4.18.0+dfsg-1DEBIAN-CVE-2021-35937
Red Hat Enterprise Linux 9python3-rpmFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpmFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpm-apidocsFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpm-buildFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpm-build-libsFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpm-cronFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpm-develFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpm-libsFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpm-plugin-auditFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpm-plugin-fapolicydFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpm-plugin-imaFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpm-plugin-selinuxFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpm-plugin-syslogFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpm-plugin-systemd-inhibitFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpm-signFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 9rpm-sign-libsFixed0:4.16.1.3-27.el9_3RHSA-2024:0463
Red Hat Enterprise Linux 8python3-rpmFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 8rpmFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 8rpm-apidocsFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 8rpm-buildFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 8rpm-build-libsFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 8rpm-cronFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 8rpm-develFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 8rpm-libsFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 8rpm-plugin-fapolicydFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 8rpm-plugin-imaFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 8rpm-plugin-prioresetFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 8rpm-plugin-selinuxFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 8rpm-plugin-syslogFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 8rpm-plugin-systemd-inhibitFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 8rpm-signFixed0:4.14.3-28.el8_9RHSA-2024:0647
Red Hat Enterprise Linux 7rpmWill not fix
Out of support scope
Red Hat Enterprise Linux 7rpm-apidocsWill not fix
Out of support scope
Red Hat Enterprise Linux 7rpm-buildWill not fix
Out of support scope
Red Hat Enterprise Linux 7rpm-build-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7rpm-cronWill not fix
Out of support scope
Red Hat Enterprise Linux 7rpm-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7rpm-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7rpm-plugin-systemd-inhibitWill not fix
Out of support scope
Red Hat Enterprise Linux 7rpm-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 7rpm-signWill not fix
Out of support scope
Red Hat Enterprise Linux 6rpmWill not fix
Out of support scope
Red Hat Enterprise Linux 6rpm-apidocsWill not fix
Out of support scope
Red Hat Enterprise Linux 6rpm-buildWill not fix
Out of support scope
Red Hat Enterprise Linux 6rpm-cronWill not fix
Out of support scope
Red Hat Enterprise Linux 6rpm-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6rpm-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6rpm-pythonWill not fix
Out of support scope
AlmaLinux 9python3-rpmFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpmFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpm-apidocsFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpm-buildFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpm-build-libsFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpm-cronFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpm-develFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpm-libsFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpm-plugin-auditFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpm-plugin-fapolicydFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpm-plugin-imaFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpm-plugin-selinuxFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpm-plugin-syslogFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpm-plugin-systemd-inhibitFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpm-signFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 9rpm-sign-libsFixed4.16.1.3-27.el9_3ALSA-2024:0463
AlmaLinux 8python3-rpmFixed4.14.3-28.el8_9ALSA-2024:0647
AlmaLinux 8rpmFixed4.14.3-28.el8_9ALSA-2024:0647
AlmaLinux 8rpm-apidocsFixed4.14.3-28.el8_9ALSA-2024:0647
AlmaLinux 8rpm-buildFixed4.14.3-28.el8_9ALSA-2024:0647
AlmaLinux 8rpm-build-libsFixed4.14.3-28.el8_9ALSA-2024:0647
AlmaLinux 8rpm-cronFixed4.14.3-28.el8_9ALSA-2024:0647
AlmaLinux 8rpm-develFixed4.14.3-28.el8_9ALSA-2024:0647
AlmaLinux 8rpm-libsFixed4.14.3-28.el8_9ALSA-2024:0647
AlmaLinux 8rpm-plugin-fapolicydFixed4.14.3-28.el8_9ALSA-2024:0647
AlmaLinux 8rpm-plugin-imaFixed4.14.3-28.el8_9ALSA-2024:0647
AlmaLinux 8rpm-plugin-prioresetFixed4.14.3-28.el8_9ALSA-2024:0647
AlmaLinux 8rpm-plugin-selinuxFixed4.14.3-28.el8_9ALSA-2024:0647
AlmaLinux 8rpm-plugin-syslogFixed4.14.3-28.el8_9ALSA-2024:0647
AlmaLinux 8rpm-plugin-systemd-inhibitFixed4.14.3-28.el8_9ALSA-2024:0647
AlmaLinux 8rpm-signFixed4.14.3-28.el8_9ALSA-2024:0647
Rocky Linux 8rpmFixed0:4.14.3-28.el8_9RLSA-2024:0647
Alpine Linux 3.24rpmFixed4.18.0-r0ALPINE-CVE-2021-35937
Alpine Linux 3.23rpmFixed4.18.0-r0ALPINE-CVE-2021-35937
Alpine Linux 3.22rpmFixed4.18.0-r0ALPINE-CVE-2021-35937
Alpine Linux 3.21rpmFixed4.18.0-r0ALPINE-CVE-2021-35937
Alpine Linux 3.20rpmFixed4.18.0-r0ALPINE-CVE-2021-35937
Alpine Linux 3.19rpmFixed4.18.0-r0ALPINE-CVE-2021-35937
Alpine Linux 3.18rpmFixed4.18.0-r0ALPINE-CVE-2021-35937
Alpine Linux 3.17rpmFixed4.18.0-r0ALPINE-CVE-2021-35937

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.