CVE-2021-3584
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-3584 is a server-side remote code execution vulnerability discovered in the Foreman project. The vulnerability allows an authenticated attacker to exploit Sendmail configuration options to overwrite defaults and perform command injection. The vulnerability was fixed in Foreman versions 2.4.1, 2.5.1, and 3.0.0 (NVD, CVE).

Technical details

The vulnerability exists in the Sendmail configuration settings accessible via Administer - Settings interface. Both sendmaillocation and sendmailarguments settings accept arbitrary strings that are passed directly into the shell. The vulnerability has a CVSS v3.1 base score of 7.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (NVD, Foreman PR).

Impact

The vulnerability poses a significant threat to system confidentiality, integrity, and availability. If exploited, it could allow authenticated attackers to execute arbitrary commands with system-level privileges on the affected Foreman server (NVD, Bugzilla).

Mitigation and workarounds

Prior to patching, administrators can mitigate the vulnerability by removing editsettings permissions from all roles and users. Alternatively, they can create settings named sendmaillocation and sendmail_arguments in settings.yaml file to override the UI and make the values read-only. The permanent fix limits the possible values for sendmail location to specific paths and implements shellescaping for arguments (Foreman PR).

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-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-esr
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • thunderbird
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

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