A command injection flaw was found in foreman. This flaw allows an authenticated user with admin privileges on the foreman instance to transpile commands through CoreOS and Fedora CoreOS configurations in templates, possibly resulting in arbitrary command execution on the underlying operating system.
CVE-2022-3874
Score 9.1 from GitHub Security Advisory (severity: CRITICAL) published 2023-09-22. NVD baseline CVSS 8.0; sources differ by 1.1.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.0
- EG Score
- 9.1CRITICALmedium confidence
- EG Risk
- 42EG Risk 42/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity91% × 45%Exploitation2% × 40%Automatability0% × 15%CISA SSVC: Track at low or medium mission impact; Track* at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 2.2%
- EPSS %ILE
- 81st
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track* at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
September 22, 2023
Last Modified
November 21, 2024
Advisory Details (2)
Auto-updated Sep 20, 20262140577 – (CVE-2022-3874) CVE-2022-3874 foreman: OS command injection via ct_command and fcct_command
https://bugzilla.redhat.com/show_bug.cgi?id=2140577CVE-2022-3874 - Red Hat Customer Portal
Affected: Red Hat Enterprise Linux 8 or OpenShift Container Platform 4, is affected by this vulnerability and a fix may be released to a
https://access.redhat.com/security/cve/CVE-2022-3874Vendor Advisories for CVE-2022-3874(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2023:6818Red Hat Product SecurityHigh
Red Hat Security Advisory: Satellite 6.14 security and bug fix update
- RHSA-2023:5979Red Hat Product SecurityHigh
Red Hat Security Advisory: Satellite 6.12.5.2 Async Security Update
- RHSA-2023:5931Red Hat Product SecurityHigh
Red Hat Security Advisory: Satellite 6.13.5 Async Security Update
Patch Availability(4)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| redhat | foreman-0:3.7.0.9-1.el8sat | 2023-11-08 | redhat |
| redhat | foreman-0:3.3.0.23-1.el8sat | 2023-10-20 | redhat |
| redhat | foreman-0:3.5.1.23-1.el8sat | 2023-10-19 | redhat |
| rubygems | foreman | — | ghsa |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 24× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 173 total refreshes for this CVE.
- 2026-10-09 20:04 UTCEPSS rescore
- 2026-10-08 17:05 UTCEPSS rescore
- 2026-10-07 23:45 UTCEPSS rescore
- 2026-10-06 15:14 UTCEPSS rescore
- 2026-10-05 17:40 UTCEPSS rescore
- 2026-10-04 23:19 UTCEPSS rescore
- 2026-10-03 14:23 UTCEPSS rescore
- 2026-10-02 16:23 UTCEPSS rescore
- 2026-10-01 19:47 UTCEPSS rescore
- 2026-09-30 16:02 UTCEG score recompute
- 2026-09-30 15:01 UTCEPSS rescore
- 2026-09-29 15:16 UTCEPSS rescore
- 2026-09-28 13:48 UTCEPSS rescore
- 2026-09-27 13:42 UTCEPSS rescore
- 2026-09-26 15:55 UTCEPSS rescore
- 2026-09-26 00:22 UTCEPSS rescore
- 2026-09-23 13:45 UTCEPSS rescore
- 2026-09-19 15:38 UTCEPSS rescore
- 2026-09-16 14:05 UTCEPSS rescore
- 2026-09-16 05:10 UTCEPSS rescore
- 2026-09-15 03:07 UTCEPSS rescore
- 2026-09-12 14:57 UTCEPSS rescore
- 2026-09-11 14:50 UTCEPSS rescore
- 2026-09-11 09:33 UTCEPSS rescore
- 2026-09-08 21:57 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-07 15:58 UTCEPSS rescore
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 05:04 UTCEPSS rescore
- 2026-09-02 14:09 UTCEPSS rescore
- 2026-09-01 13:51 UTCEPSS rescore
- 2026-08-30 19:15 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-30 01:19 UTCEPSS rescore
- 2026-08-28 21:38 UTCEPSS rescore
- 2026-08-27 14:22 UTCEPSS rescore
- 2026-08-26 14:43 UTCEPSS rescore
- 2026-08-25 13:46 UTCEPSS rescore
- 2026-08-24 14:13 UTCEPSS rescore
- 2026-08-23 00:17 UTCEPSS rescore
- 2026-08-21 23:46 UTCEPSS rescore
- 2026-08-20 22:53 UTCEPSS rescore
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-18 13:45 UTCEPSS rescore
- 2026-08-17 13:44 UTCEPSS rescore
- 2026-08-16 14:53 UTCEPSS rescore
- 2026-08-16 14:53 UTCEPSS rescore
- 2026-08-16 02:12 UTCEPSS rescore
- 2026-08-15 01:27 UTCEPSS rescore
- 2026-08-13 21:58 UTCEPSS rescore
- 2026-08-13 21:58 UTCEPSS rescore
- 2026-08-12 13:48 UTCEPSS rescore
- 2026-08-11 13:39 UTCEPSS rescore
- 2026-08-08 16:34 UTCEPSS rescore
- 2026-08-07 16:24 UTCEPSS rescore
- 2026-08-06 13:44 UTCEPSS rescore
- 2026-08-05 19:15 UTCEPSS rescore
- 2026-08-04 15:07 UTCEPSS rescore
- 2026-08-04 10:35 UTCEPSS rescore
- 2026-08-03 10:33 UTCEPSS rescore
- 2026-08-02 02:24 UTCEPSS rescore
- 2026-08-02 02:24 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 02:13 UTCEG score recompute
- 2026-07-22 23:00 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat:RHSA-2023:5931 · redhat:RHSA-2023:5979
- CVE-2022-2068NVD 7.3EG 9.8EPSS p100CRITICAL
- CVE-2022-1292NVD 7.3EG 9.8EPSS p100CRITICAL
- CVE-2023-44487NVD 7.5EG 9.0 KEVEPSS p100CRITICAL
- CVE-2022-47318EG 8.0HIGH
- CVE-2022-46648EG 8.0HIGH
- CVE-2023-39325EG 7.5EPSS p90HIGH
- CVE-2023-40267EG 9.8CRITICAL
- CVE-2023-31047EG 9.8CRITICAL
- CVE-2023-0118EG 9.1CRITICAL
- CVE-2023-0462EG 8.0HIGH
Frequently asked(5)
What is CVE-2022-3874?
When was CVE-2022-3874 disclosed?
Is CVE-2022-3874 actively exploited?
What is the CVSS score of CVE-2022-3874?
How do I remediate CVE-2022-3874?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2022-3874
Is Your Infrastructure Affected by CVE-2022-3874?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.