Vulnerability · Published Dec 23, 2021 · Assigned by redhat
CVE-2021-3621
High 8.8
In plain English
A high-severity command injection in sssd. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libsss_nss_idmap-devel | 2.4.0-9.el8_4.2 | ALSA-2021:3151 |
| Debian:12 | sssd | 2.5.2-1 | DEBIAN-CVE-2021-3621 |
| Debian:13 | sssd | 2.5.2-1 | DEBIAN-CVE-2021-3621 |
| Rocky Linux:8 | sssd | 0:2.4.0-9.el8_4.2 | RLSA-2021:3151 |
| Ubuntu:22.04:LTS | sssd | 2.4.1-2ubuntu4 | UBUNTU-CVE-2021-3621 |
Affected products (as reported)
Weakness: CWE-77