{"answers":{"affected":"It affects 8 products.","exploited":"There is no known exploitation of CVE-2021-3621 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-3621 is a high-severity command injection vulnerability in Fedoraproject Fedora, published on 23 Dec 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-3621 and fix it if it is affected.\n\nWhat it is: CVE-2021-3621 is a high-severity command injection vulnerability in Fedoraproject Fedora, published on 23 Dec 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-3621 in the wild and no public exploit code.\n\nAffected product: Fedoraproject Fedora. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-3621/ (Markdown: https://insights.sbomify.com/CVE-2021-3621/index.md)","id":"CVE-2021-3621","markdown":"https://insights.sbomify.com/CVE-2021-3621/index.md","name":"CVE-2021-3621","record":{"aliases":["ALSA-2021:3151","DEBIAN-CVE-2021-3621","DLA-2758-1","GHSA-g527-g4q2-57xc","MGASA-2021-0502","OESA-2021-1340","RHSA-2021:3151","RHSA-2021:3178","RHSA-2021:3336","RHSA-2021:3365","RLSA-2021:3151","SUSE-RU-2021:3185-1","SUSE-SU-2021:2873-1","SUSE-SU-2021:2941-1","SUSE-SU-2022:0826-1","SUSE-SU-2022:1258-1","SUSE-SU-2022:2763-1","UBUNTU-CVE-2021-3621","openSUSE-SU-2021:2941-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"SSSD identity provider","requires_auth":"none","summary":"Attackers can trick root users into running crafted sssctl commands to execute arbitrary shell commands and gain root privileges.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"sssd","vendor":"fedoraproject"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_tus","vendor":"redhat"},{"product":"virtualization","vendor":"redhat"},{"product":"virtualization_host","vendor":"redhat"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"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.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Red Hat:rhel_eus:8.1::baseos","Red Hat:rhel_eus:8.1::crb","Red Hat:rhel_eus:8.2::baseos","Red Hat:rhel_eus:8.2::crb","Rocky Linux:8","SUSE:Enterprise Storage 6","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP2","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3","openSUSE:Leap 15.4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Command injection in sssd","id":"CVE-2021-3621","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora","redhat:enterprise_linux","redhat:enterprise_linux_eus","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_tus","redhat:virtualization","redhat:virtualization_host"],"type":"command_injection","year":"2021"},"n_packages":395,"n_references":3,"next":{"headline":"Denial of service in hivex","id":"CVE-2021-3622"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["2.4.0-9.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"libsss_nss_idmap-devel","purl":"pkg:rpm/almalinux/libsss_nss_idmap-devel","source":"ALSA-2021:3151"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libipa_hbac","purl":"pkg:rpm/redhat/libipa_hbac","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libipa_hbac-devel","purl":"pkg:rpm/redhat/libipa_hbac-devel","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libsss_autofs","purl":"pkg:rpm/redhat/libsss_autofs","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libsss_certmap","purl":"pkg:rpm/redhat/libsss_certmap","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libsss_certmap-devel","purl":"pkg:rpm/redhat/libsss_certmap-devel","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libsss_idmap","purl":"pkg:rpm/redhat/libsss_idmap","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libsss_idmap-devel","purl":"pkg:rpm/redhat/libsss_idmap-devel","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libsss_nss_idmap","purl":"pkg:rpm/redhat/libsss_nss_idmap","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libsss_nss_idmap-devel","purl":"pkg:rpm/redhat/libsss_nss_idmap-devel","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libsss_simpleifp","purl":"pkg:rpm/redhat/libsss_simpleifp","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libsss_simpleifp-devel","purl":"pkg:rpm/redhat/libsss_simpleifp-devel","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libsss_sudo","purl":"pkg:rpm/redhat/libsss_sudo","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"python-libipa_hbac","purl":"pkg:rpm/redhat/python-libipa_hbac","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"python-libsss_nss_idmap","purl":"pkg:rpm/redhat/python-libsss_nss_idmap","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"python-sss","purl":"pkg:rpm/redhat/python-sss","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"python-sss-murmur","purl":"pkg:rpm/redhat/python-sss-murmur","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"python-sssdconfig","purl":"pkg:rpm/redhat/python-sssdconfig","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd","purl":"pkg:rpm/redhat/sssd","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-ad","purl":"pkg:rpm/redhat/sssd-ad","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-client","purl":"pkg:rpm/redhat/sssd-client","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-common","purl":"pkg:rpm/redhat/sssd-common","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-common-pac","purl":"pkg:rpm/redhat/sssd-common-pac","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-dbus","purl":"pkg:rpm/redhat/sssd-dbus","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-debuginfo","purl":"pkg:rpm/redhat/sssd-debuginfo","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-ipa","purl":"pkg:rpm/redhat/sssd-ipa","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-kcm","purl":"pkg:rpm/redhat/sssd-kcm","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-krb5","purl":"pkg:rpm/redhat/sssd-krb5","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-krb5-common","purl":"pkg:rpm/redhat/sssd-krb5-common","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-ldap","purl":"pkg:rpm/redhat/sssd-ldap","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-libwbclient","purl":"pkg:rpm/redhat/sssd-libwbclient","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-libwbclient-devel","purl":"pkg:rpm/redhat/sssd-libwbclient-devel","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-polkit-rules","purl":"pkg:rpm/redhat/sssd-polkit-rules","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-proxy","purl":"pkg:rpm/redhat/sssd-proxy","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-tools","purl":"pkg:rpm/redhat/sssd-tools","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"sssd-winbind-idmap","purl":"pkg:rpm/redhat/sssd-winbind-idmap","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libipa_hbac-devel","purl":"pkg:rpm/redhat/libipa_hbac-devel","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libsss_certmap-devel","purl":"pkg:rpm/redhat/libsss_certmap-devel","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libsss_idmap-devel","purl":"pkg:rpm/redhat/libsss_idmap-devel","source":"RHSA-2021:3336"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.16.5-10.el7_9.10"],"introduced":["0"],"last_affected":[],"package":"libsss_nss_idmap-devel","purl":"pkg:rpm/redhat/libsss_nss_idmap-devel","source":"RHSA-2021:3336"}],"prev":{"headline":"Ansible discloses sensitive information in traceback error message","id":"CVE-2021-3620"},"products":["sssd"],"published":"2021-12-23","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-11-03","vendors":["n/a"]},"summary":"Attackers can trick root users into running crafted sssctl commands to execute arbitrary shell commands and gain root privileges.","url":"https://insights.sbomify.com/CVE-2021-3621/"}