Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3621
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:31 UTC · Revision 1

Source evidence

CVE-2021-3621

core-osv · Original source

Published 23 Dec 2021, 21:15 UTC

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.

osv:CVE-2021-3621
Complete source record
{
  "id": "73e5d591c723464b538a0866c13e5cbe31ee985bec7319ae1c93b22f7b950a7b",
  "url": "https://osv.dev/vulnerability/CVE-2021-3621",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3621",
    "summary": "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.",
    "evidence": "osv:CVE-2021-3621",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-3621",
      "aliases": [
        "CVE-2021-3621"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sssd/sssd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "bd71ae53fc0b4bf58633bfd957f7eb1745814dfa"
                },
                {
                  "last_affected": "bd71ae53fc0b4bf58633bfd957f7eb1745814dfa"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:fedoraproject:sssd:2.6.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.6.0"
                      },
                      {
                        "last_affected": "2.6.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.6.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3621.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:19.539914082Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2025/02/msg00008.html",
        "https://lists.debian.org/debian-lts-announce/2023/05/msg00028.html",
        "https://sssd.io/release-notes/sssd-2.6.0.html",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1975142"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0"
                  },
                  {
                    "last_affected": "6.0"
                  },
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  },
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_eus",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.1"
                  },
                  {
                    "last_affected": "8.1"
                  },
                  {
                    "introduced": "8.2"
                  },
                  {
                    "last_affected": "8.2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_server_aus:8.2:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux_server_aus:8.4:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_server_aus",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.2"
                  },
                  {
                    "last_affected": "8.2"
                  },
                  {
                    "introduced": "8.4"
                  },
                  {
                    "last_affected": "8.4"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_server_tus:8.2:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux_server_tus:8.4:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_server_tus",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.2"
                  },
                  {
                    "last_affected": "8.2"
                  },
                  {
                    "introduced": "8.4"
                  },
                  {
                    "last_affected": "8.4"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:virtualization",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:virtualization_host",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-3621",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430039,
  "published_at": "2021-12-23T21:15:08.92+00:00"
}