CVE-2021-3621
sssd: shell command injection in sssctl
Overview
Description
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.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-77, CWE-78
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 25 fixes
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | libipa-hbac +33 | 1.16.5-10.0.1.el7_9.10 |
| 8 | libipa-hbac +29 | 2.4.0-9.0.1.el8_4.2 |
Red Hat 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | libipa-hbac +33 | 0:1.16.5-10.el7_9.10 | RHSA-2021:3336 |
| 7 | redhat-virtualization-host-image-update | 0:4.3.18-20210903.0.el7_9 | RHSA-2021:3477 |
| 8 | libipa-hbac +29 | 0:2.2.0-19.el8_1.2 | RHSA-2021:3178 |
| 8 | libipa-hbac +29 | 0:2.2.3-20.el8_2.1 | RHSA-2021:3365 |
| 8 | libipa-hbac +29 | 0:2.4.0-9.el8_4.2 | RHSA-2021:3151 |
| 8 | redhat-virtualization-host-image-update | 0:4.4.7-20210804.0.el8_4 | RHSA-2021:3235 |
SUSE Linux Enterprise 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libipa-hbac-devel +18 | 1.16.1-7.22.4 | SUSE-SU-2021:2873-1 |
| 15.4 | libipa-hbac-devel +22 | 2.5.2-150400.4.5.14 | SUSE-SU-2022:2763-1 |
alma 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | libsss-nss-idmap-devel | 2.4.0-9.el8_4.2 |
debian 6 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | sssd | 1.16.3-3.2+deb10u1 |
| 11 | sssd | 2.4.1-2+deb11u1 |
| 12 | sssd | 2.5.2-1 |
| 13 | sssd | 2.5.2-1 |
| 14 | sssd | 2.5.2-1 |
| 9 | sssd | 1.15.0-3+deb9u2 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| sssd | 2.5.2-1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libipa-hbac-devel +23 | 2.9.3-2.1 | openSUSE-SU-2024:13446-1 |
rocky 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | libipa-hbac +28 | 2.4.0-9.el8_4.2 |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | sssd | 1.16.1-1ubuntu1.8 |
| 18.04-ESM | sssd | 1.16.1-1ubuntu1.8 |
| 20.04 | sssd | 2.2.3-3ubuntu0.7 |
| 20.04-ESM | sssd | 2.2.3-3ubuntu0.7 |
| 22.04 | sssd | 2.4.1-2ubuntu4 |
References
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3621.json
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-3621
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1975142
- linux.oracle.com https://linux.oracle.com/cve/CVE-2021-3621.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2021-3336.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/05/msg00028.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/02/msg00008.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-3621
- sssd.io https://sssd.io/release-notes/sssd-2.6.0.html
- ubuntu.com https://ubuntu.com/security/notices/USN-5067-1
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.