CVEfocus › CVE database › CVE-2021-3621

CVE-2021-3621

EPSS 2.6% (higher than 86% of CVEs)Published 2021-12-23Updated 2025-11-03Assigner: redhat

A flaw was found in SSSD, where the sssctl command was vulnerable to shell command injection via the logs-fetch and cache-expire subcommands. This flaw allows an attacker to trick the root user into running a specially crafted sssctl command, such as via sudo, to gain root access. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

CWE-77

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: 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
2Fix pending
30Will not fix
33Not 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 22.04sssdFixed2.4.1-2ubuntu4UBUNTU-CVE-2021-3621
Ubuntu 20.04sssdFixed2.2.3-3ubuntu0.7UBUNTU-CVE-2021-3621
Ubuntu 18.04sssdFixed1.16.1-1ubuntu1.8UBUNTU-CVE-2021-3621
Ubuntu 16.04sssdFix pending
Ubuntu 14.04sssdFix pending
Debian 14sssdFixed2.5.2-1DEBIAN-CVE-2021-3621
Debian 13sssdFixed2.5.2-1DEBIAN-CVE-2021-3621
Debian 12sssdFixed2.5.2-1DEBIAN-CVE-2021-3621
Red Hat Enterprise Linux 9libipa_hbacNot affected
Red Hat Enterprise Linux 9libsss_autofsNot affected
Red Hat Enterprise Linux 9libsss_certmapNot affected
Red Hat Enterprise Linux 9libsss_certmap-develNot affected
Red Hat Enterprise Linux 9libsss_idmapNot affected
Red Hat Enterprise Linux 9libsss_idmap-develNot affected
Red Hat Enterprise Linux 9libsss_nss_idmapNot affected
Red Hat Enterprise Linux 9libsss_nss_idmap-develNot affected
Red Hat Enterprise Linux 9libsss_simpleifpNot affected
Red Hat Enterprise Linux 9libsss_sudoNot affected
Red Hat Enterprise Linux 9python3-libipa_hbacNot affected
Red Hat Enterprise Linux 9python3-libsss_nss_idmapNot affected
Red Hat Enterprise Linux 9python3-sssNot affected
Red Hat Enterprise Linux 9python3-sss-murmurNot affected
Red Hat Enterprise Linux 9python3-sssdconfigNot affected
Red Hat Enterprise Linux 9sssdNot affected
Red Hat Enterprise Linux 9sssd-adNot affected
Red Hat Enterprise Linux 9sssd-clientNot affected
Red Hat Enterprise Linux 9sssd-commonNot affected
Red Hat Enterprise Linux 9sssd-common-pacNot affected
Red Hat Enterprise Linux 9sssd-dbusNot affected
Red Hat Enterprise Linux 9sssd-idpNot affected
Red Hat Enterprise Linux 9sssd-ipaNot affected
Red Hat Enterprise Linux 9sssd-kcmNot affected
Red Hat Enterprise Linux 9sssd-krb5Not affected
Red Hat Enterprise Linux 9sssd-krb5-commonNot affected
Red Hat Enterprise Linux 9sssd-ldapNot affected
Red Hat Enterprise Linux 9sssd-nfs-idmapNot affected
Red Hat Enterprise Linux 9sssd-passkeyNot affected
Red Hat Enterprise Linux 9sssd-polkit-rulesNot affected
Red Hat Enterprise Linux 9sssd-proxyNot affected
Red Hat Enterprise Linux 9sssd-toolsNot affected
Red Hat Enterprise Linux 9sssd-winbind-idmapNot affected
Red Hat Enterprise Linux 8libipa_hbacFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8libsss_autofsFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8libsss_certmapFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8libsss_idmapFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8libsss_nss_idmapFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8libsss_nss_idmap-develFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8libsss_simpleifpFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8libsss_sudoFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8python3-libipa_hbacFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8python3-libsss_nss_idmapFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8python3-sssFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8python3-sss-murmurFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8python3-sssdconfigFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssdFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-adFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-clientFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-commonFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-common-pacFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-dbusFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-ipaFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-kcmFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-krb5Fixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-krb5-commonFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-ldapFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-libwbclientFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-nfs-idmapFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-polkit-rulesFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-proxyFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-toolsFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 8sssd-winbind-idmapFixed0:2.4.0-9.el8_4.2RHSA-2021:3151
Red Hat Enterprise Linux 7libipa_hbacFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7libipa_hbac-develFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7libsss_autofsFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7libsss_certmapFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7libsss_certmap-develFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7libsss_idmapFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7libsss_idmap-develFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7libsss_nss_idmapFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7libsss_nss_idmap-develFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7libsss_simpleifpFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7libsss_simpleifp-develFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7libsss_sudoFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7python-libipa_hbacFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7python-libsss_nss_idmapFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7python-sssFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7python-sss-murmurFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7python-sssdconfigFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7redhat-virtualization-hostFixed0:4.3.18-20210903.0.el7_9RHSA-2021:3477
Red Hat Enterprise Linux 7redhat-virtualization-host-image-updateFixed0:4.3.18-20210903.0.el7_9RHSA-2021:3477
Red Hat Enterprise Linux 7sssdFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-adFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-clientFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-commonFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-common-pacFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-dbusFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-ipaFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-kcmFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-krb5Fixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-krb5-commonFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-ldapFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-libwbclientFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-libwbclient-develFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-polkit-rulesFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-proxyFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-toolsFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 7sssd-winbind-idmapFixed0:1.16.5-10.el7_9.10RHSA-2021:3336
Red Hat Enterprise Linux 6libipa_hbacWill not fix
Out of support scope
Red Hat Enterprise Linux 6libipa_hbac-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libipa_hbac-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsss_autofsWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsss_idmapWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsss_idmap-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsss_nss_idmapWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsss_nss_idmap-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsss_nss_idmap-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsss_simpleifpWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsss_simpleifp-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsss_sudoWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsss_sudo-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6python-libipa_hbacWill not fix
Out of support scope
Red Hat Enterprise Linux 6python-libsss_nss_idmapWill not fix
Out of support scope
Red Hat Enterprise Linux 6python-sssWill not fix
Out of support scope
Red Hat Enterprise Linux 6python-sss-murmurWill not fix
Out of support scope
Red Hat Enterprise Linux 6python-sssdconfigWill not fix
Out of support scope
Red Hat Enterprise Linux 6sssdWill not fix
Out of support scope
Red Hat Enterprise Linux 6sssd-adWill not fix
Out of support scope
Red Hat Enterprise Linux 6sssd-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 6sssd-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6sssd-common-pacWill not fix
Out of support scope
Red Hat Enterprise Linux 6sssd-dbusWill not fix
Out of support scope
Red Hat Enterprise Linux 6sssd-ipaWill not fix
Out of support scope
Red Hat Enterprise Linux 6sssd-krb5Will not fix
Out of support scope
Red Hat Enterprise Linux 6sssd-krb5-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6sssd-ldapWill not fix
Out of support scope
Red Hat Enterprise Linux 6sssd-proxyWill not fix
Out of support scope
Red Hat Enterprise Linux 6sssd-toolsWill not fix
Out of support scope
AlmaLinux 8libsss_nss_idmap-develFixed2.4.0-9.el8_4.2ALSA-2021:3151
Rocky Linux 8sssdFixed0:2.4.0-9.el8_4.2RLSA-2021:3151

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.

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.