CVE-2021-3621
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-3621 is a security vulnerability discovered in SSSD (System Security Services Daemon), specifically affecting the sssctl command. The vulnerability was disclosed on June 23, 2021, and affects the logs-fetch and cache-expire subcommands of sssctl. The flaw was found in SSSD versions prior to 2.6.0 (SSSD Release, NVD).

Technical details

The vulnerability stems from the sssctl_run_command() function, which is a wrapper for running commands via a shell using glibc's system() function call. The sssctl_cache_expire() and sssctl_logs_fetch() functions allow user-provided arguments and pass them directly to sssctl_run_command() without proper sanitization, making them vulnerable to shell command injection (Red Hat Bugzilla).

Impact

The vulnerability could allow an attacker to gain root access by tricking the root user into running a specially crafted sssctl command, such as via sudo. The highest threat from this vulnerability affects system confidentiality, integrity, and availability (CVE Mitre).

Mitigation and workarounds

The vulnerability was fixed in SSSD version 2.6.0 by replacing the system() call with execvp() to avoid execution of user-supplied commands. Various Linux distributions have released security updates to address this vulnerability, including Red Hat Enterprise Linux via RHSA-2021:3151 and Debian via DLA-3436-1 (SSSD Release, Debian LTS).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management