CVE-2021-3621

NameCVE-2021-3621
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2758-1, DLA-3436-1
Debian Bugs992710

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sssd (PTS)jessie, jessie (lts)1.11.7-3+deb8u2fixed
stretch (security), stretch (lts), stretch1.15.0-3+deb9u2fixed
buster (security), buster, buster (lts)1.16.3-3.2+deb10u2fixed
bullseye2.4.1-2vulnerable
bookworm2.8.2-4fixed
sid2.9.5-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sssdsourcejessie(not affected)
sssdsourcestretch1.15.0-3+deb9u2DLA-2758-1
sssdsourcebuster1.16.3-3.2+deb10u1DLA-3436-1
sssdsource(unstable)2.5.2-1992710

Notes

[bullseye] - sssd <no-dsa> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=1975142
https://github.com/SSSD/sssd/commit/7ab83f97e1cbefb78ece17232185bdd2985f0bbe (sssd-2-7)
https://github.com/SSSD/sssd/commit/b4b32677a886bc26d60ce0171505aa3ab0c82c8a (sssd-1-16)
Introduced by https://github.com/SSSD/sssd/commit/e157b9f6cb370e1b94bcac2044d26ad66d640fba (v1.13.91)
[jessie] - sssd <not-affected> (Vulnerable code introduced later)

Search for package or bug name: Reporting problems