CVE-2021-3621
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | sssd | Fixed | 2.4.1-2ubuntu4 | UBUNTU-CVE-2021-3621 |
| Ubuntu 20.04 | sssd | Fixed | 2.2.3-3ubuntu0.7 | UBUNTU-CVE-2021-3621 |
| Ubuntu 18.04 | sssd | Fixed | 1.16.1-1ubuntu1.8 | UBUNTU-CVE-2021-3621 |
| Ubuntu 16.04 | sssd | Fix pending | ||
| Ubuntu 14.04 | sssd | Fix pending | ||
| Debian 14 | sssd | Fixed | 2.5.2-1 | DEBIAN-CVE-2021-3621 |
| Debian 13 | sssd | Fixed | 2.5.2-1 | DEBIAN-CVE-2021-3621 |
| Debian 12 | sssd | Fixed | 2.5.2-1 | DEBIAN-CVE-2021-3621 |
| Red Hat Enterprise Linux 9 | libipa_hbac | Not affected | ||
| Red Hat Enterprise Linux 9 | libsss_autofs | Not affected | ||
| Red Hat Enterprise Linux 9 | libsss_certmap | Not affected | ||
| Red Hat Enterprise Linux 9 | libsss_certmap-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libsss_idmap | Not affected | ||
| Red Hat Enterprise Linux 9 | libsss_idmap-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libsss_nss_idmap | Not affected | ||
| Red Hat Enterprise Linux 9 | libsss_nss_idmap-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libsss_simpleifp | Not affected | ||
| Red Hat Enterprise Linux 9 | libsss_sudo | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-libipa_hbac | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-libsss_nss_idmap | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-sss | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-sss-murmur | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-sssdconfig | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-ad | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-client | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-common | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-common-pac | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-dbus | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-idp | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-ipa | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-kcm | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-krb5 | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-krb5-common | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-ldap | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-nfs-idmap | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-passkey | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-polkit-rules | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-proxy | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | sssd-winbind-idmap | Not affected | ||
| Red Hat Enterprise Linux 8 | libipa_hbac | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | libsss_autofs | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | libsss_certmap | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | libsss_idmap | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | libsss_nss_idmap | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | libsss_nss_idmap-devel | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | libsss_simpleifp | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | libsss_sudo | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | python3-libipa_hbac | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | python3-libsss_nss_idmap | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | python3-sss | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | python3-sss-murmur | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | python3-sssdconfig | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-ad | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-client | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-common | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-common-pac | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-dbus | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-ipa | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-kcm | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-krb5 | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-krb5-common | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-ldap | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-libwbclient | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-nfs-idmap | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-polkit-rules | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-proxy | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-tools | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 8 | sssd-winbind-idmap | Fixed | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| Red Hat Enterprise Linux 7 | libipa_hbac | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | libipa_hbac-devel | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | libsss_autofs | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | libsss_certmap | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | libsss_certmap-devel | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | libsss_idmap | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | libsss_idmap-devel | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | libsss_nss_idmap | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | libsss_nss_idmap-devel | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | libsss_simpleifp | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | libsss_simpleifp-devel | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | libsss_sudo | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | python-libipa_hbac | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | python-libsss_nss_idmap | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | python-sss | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | python-sss-murmur | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | python-sssdconfig | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | redhat-virtualization-host | Fixed | 0:4.3.18-20210903.0.el7_9 | RHSA-2021:3477 |
| Red Hat Enterprise Linux 7 | redhat-virtualization-host-image-update | Fixed | 0:4.3.18-20210903.0.el7_9 | RHSA-2021:3477 |
| Red Hat Enterprise Linux 7 | sssd | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-ad | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-client | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-common | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-common-pac | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-dbus | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-ipa | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-kcm | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-krb5 | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-krb5-common | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-ldap | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-libwbclient | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-libwbclient-devel | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-polkit-rules | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-proxy | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-tools | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 7 | sssd-winbind-idmap | Fixed | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| Red Hat Enterprise Linux 6 | libipa_hbac | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libipa_hbac-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libipa_hbac-python | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libsss_autofs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libsss_idmap | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libsss_idmap-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libsss_nss_idmap | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libsss_nss_idmap-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libsss_nss_idmap-python | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libsss_simpleifp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libsss_simpleifp-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libsss_sudo | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libsss_sudo-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | python-libipa_hbac | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | python-libsss_nss_idmap | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | python-sss | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | python-sss-murmur | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | python-sssdconfig | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sssd | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sssd-ad | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sssd-client | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sssd-common | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sssd-common-pac | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sssd-dbus | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sssd-ipa | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sssd-krb5 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sssd-krb5-common | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sssd-ldap | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sssd-proxy | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sssd-tools | Will not fix Out of support scope | ||
| AlmaLinux 8 | libsss_nss_idmap-devel | Fixed | 2.4.0-9.el8_4.2 | ALSA-2021:3151 |
| Rocky Linux 8 | sssd | Fixed | 0:2.4.0-9.el8_4.2 | RLSA-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.
- sssd: affected: sssd 2.6.0
References
- https://sssd.io/release-notes/sssd-2.6.0.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1975142
- https://lists.debian.org/debian-lts-announce/2023/05/msg00028.html
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.