OS command injection in foreman
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-78.
Summary
A server side remote code execution vulnerability was found in Foreman project. A authenticated attacker could use Sendmail configuration options to overwrite the defaults and perform command injection. The highest threat from this vulnerability is to confidentiality, integrity and availability of system. Fixed releases are 2.4.1, 2.5.1, 3.0.0.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | foreman | foreman 2.4.1, foreman 2.5.1, foreman 3.0.0 | — | No fix listed | CNA |
- foreman Vendor— Affected foreman 2.4.1, foreman 2.5.1, foreman 3.0.0 Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:* | before 2.4.1; 2.5.0 to before 2.5.1 | Vulnerable | The Foreman Project |
| cpe:2.3:a:theforeman:foreman:3.0.0:rc1:*:*:*:*:*:* | 3.0.0 rc1 | Vulnerable | The Foreman Project |
| cpe:2.3:a:theforeman:foreman:3.0.0:rc2:*:*:*:*:*:* | 3.0.0 rc2 | Vulnerable | The Foreman Project |
| cpe:2.3:o:redhat:satellite:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
- cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:* Versions before 2.4.1; 2.5.0 to before 2.5.1 Vulnerable ·The Foreman Project
- cpe:2.3:a:theforeman:foreman:3.0.0:rc1:*:*:*:*:*:* Versions 3.0.0 rc1 Vulnerable ·The Foreman Project
- cpe:2.3:a:theforeman:foreman:3.0.0:rc2:*:*:*:*:*:* Versions 3.0.0 rc2 Vulnerable ·The Foreman Project
- cpe:2.3:o:redhat:satellite:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
Remediation
Red Hat 1 advisory
- RHSA-2022:5498 Released 2022-07-05 · Red Hat rating ModerateSatellite 6.11 Release
- Red Hat Satellite 6.11 for RHEL 7 candlepin-4.1.13-1.el7sat, foreman-3.1.1.21-2.el7sat, libsolv-0.7.22-1.el7pc +4
- Red Hat Satellite 6.11 for RHEL 8 candlepin-4.1.13-1.el8sat, foreman-3.1.1.21-2.el8sat, libsolv-0.7.22-1.el8pc +8
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Satellite 6.11 for RHEL 7 | Fixed | RHSA-2022:5498 |
| Red Hat Satellite 6.11 for RHEL 8 | Fixed | RHSA-2022:5498 |
Not affected: 2 products
- Red Hat Satellite 6.11 for RHEL 7
- Red Hat Satellite 6.11 for RHEL 8
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3584
- 2026-10-03 Alias added: GHSA-x4xp-c8qv-8gww
- 2026-10-13 EPSS moved to the 90th–95th percentile
References
Sources
- CVE-2021-3584 · CVE Program
- CVE-2021-3584 · NVD
- FIRST EPSS
- GHSA-x4xp-c8qv-8gww · GitHub Advisory Database · CC BY 4.0
- CVE-2021-3584 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences